You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
437 B

/**
* Action
*
* @author Björn Hase <me@herr-hase.wtf>
* @license hhttps://www.gnu.org/licenses/gpl-3.0.en.html GPL-3
* @link https://git.node001.net/HerrHase/signpost.git
*
*/
class Action {
/**
*
*
*/
constructor(flow, data) {
this.flow = flow
this.data = data
if (!this.run()) {
throw new Error('run method needed')
}
}
}
export default Action