When a flow is deployed, each flow component runs through the following phases:
...
function handler() {
stream.create().output(this.props["queuename"]).queue();
}
...
This phase is executed after all components of the flow have successfully passed the init phase. It should be used to start resources. The handler is stored under the start
folder of the flow component:
...