Slug v0.1.1 Slug.PipelineBuilder
Tools for building a pipeline of slugs. This is used by Slug.Bot and isn’t
intended to be used directly.
Link to this section Summary
Functions
Executes the module’s slug pipeline. Given an initial Slug.Event, each slug will be executed,
and the result of the slug’s execution will become the input for the next slug
Adds a slug to the module’s slug pipeline
Link to this section Types
Link to this section Functions
Link to this function
execute_pipeline(slugs, initial_event, bot_module)
execute_pipeline([slug()], Slug.Event.t(), Slug.Bot.t()) :: Slug.Event.t()
Executes the module’s slug pipeline. Given an initial Slug.Event, each slug will be executed,
and the result of the slug’s execution will become the input for the next slug.