UNPKG

flownote

Version:

FlowNote lets developers create, organize, and reason about event-oriented applications with a simple flow-based language.

14 lines (10 loc) 382 B
import Node from '../node' class StandardNode extends Node { constructor (application, id, name, to, tags, actions = []) { const gotoChannel = application.requireAction('gotoChannel', function gotoChannel () { this.dispatch('StandardChannel') }) super(application, id, name, to, tags, actions.concat([ gotoChannel ])) } } export { StandardNode as default }