re-flow.core

Convenience functions for building and executing flows.

flow

Creates a flow using a collection of states and flow options if specified.

A convenience wrapper of re-flow.flow/flow.

set-transition-interceptors

Dispatches an event to set the vector of transition interceptors.

See re-flow.interceptors for more information.

A convenience wrapper of re-flow.events/set-transition-interceptors.

start

Dispatches an event to start a flow, with an optional starting db and name.

If no flow-name is provided, the flow is treated as the default flow.

A convience wrapper of re-flow.events/start.

sub-flow

Subscribes to the flow.

If no flow-name is provided, subscribes to the default flow.

A convenience wrapper of re-flow.subs/sub-flow.

sub-flow-db

Subscribes to the flow db.

If no flow-name is provided, the default flow is used.

A convenience wrapper of re-flow.subs/sub-flow-db.

sub-flow-state

Subscribes the the flow state.

If no flow-name is provided, the default flow is used.

A convenience wrapper of re-flow.subs/sub-flow-state.

transition

Dispatches an event to transition the flow with the provided transition data.

A convenience wrapper of re-flow.events/transition.