Closed JoelWAnna closed 5 years ago
Use case: showing a preview of the result of the module
worker(node, inputs, outputs, args = {}) { if (args.silent) { return; } const previewControl = this.getPreviewControl(node.id); if (previewControl) previewControl.setValue(outputs[node.data.module]); }
Additionally Pass original args to module, use case of allowing state to be passed to inner module.
https://www.npmjs.com/package/rete-module-plugin/v/0.3.0
Use case: showing a preview of the result of the module
Additionally Pass original args to module, use case of allowing state to be passed to inner module.