reduzent / netpd

Collaborative Realtime Networked Music Making Environment (MK II)
https://netpd.org
GNU General Public License v2.0
62 stars 5 forks source link

chat: make it side-effect free #31

Closed reduzent closed 2 years ago

reduzent commented 2 years ago

As a general design pattern, patches employing dynamic patching, should take care that they stay free of any side-effects. If the dynamic patching happens in the main patch and the patch is saved, artefacts from dynamic patching are saved with the patch. Thus, dynamic patching should happen in dedicated container abstractions.

Chat creates an instance of unpatch in itself. This should happen in a container abstractions.