UNPKG

flownote

Version:

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

14 lines (10 loc) 415 B
import Milestone from '../milestone' class StandardMilestone extends Milestone { constructor (application, id, name, strategy, to, actions = []) { const gotoChannel = application.requireAction('gotoChannel', function gotoChannel () { this.dispatch('StandardChannel') }) super(application, id, name, strategy, to, actions.concat([ gotoChannel ])) } } export { StandardMilestone as default }