View Source Runbox.Runtime.Simple.TemplateCarrier (runbox v17.1.0)
Template carrier for Simple scenario.
GenStage handling Simple scenario template. It carries the state of the template and handles
init
and handle_message
callbacks. It expects to consume messages from input streams and
produces output-stream-ready events.
Summary
Types
Stage output (input for the next stage) is either a tick message or an output action
Functions
Returns component name.
Returns state entity of a running template carrier.
Starts the GenStage.
Types
@type origin() :: Runbox.Message.t() | :init
@type stage_outputs() :: [Runbox.Message.t() | Runbox.Runtime.OutputAction.t()]
Stage output (input for the next stage) is either a tick message or an output action
@type state_entity() :: Runbox.StateStore.Entity.t(Runbox.Runtime.Simple.TemplateCarrier.Snapshot.t())
@type timestamp() :: non_neg_integer()
Functions
Returns component name.
Returns state entity of a running template carrier.
Starts the GenStage.