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.

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 timestamp() :: non_neg_integer()

Functions

Returns component name.

Returns state entity of a running template carrier.

Link to this function

start_link(args, runbox_ctx, start_ctx)

View Source

Starts the GenStage.