Glific v0.3.1 Glific.Flows.Wait View Source
The Wait object which encapsulates the wait for a router
Link to this section Summary
Functions
Execute a exit, given a message stream.
Process a json structure from floweditor to the Glific data types
Link to this section Types
Specs
t() :: %Glific.Flows.Wait{
category_uuid: :uuid | nil,
id: term(),
seconds: non_neg_integer() | nil,
type: String.t() | nil
}
Link to this section Functions
Specs
execute(t(), Glific.Flows.FlowContext.t(), [String.t()]) :: {:ok, Glific.Flows.FlowContext.t() | nil, [String.t()]} | {:error, String.t()}
Execute a exit, given a message stream.
Specs
process(map(), map(), Glific.Flows.Router.t()) :: {t(), map()}
Process a json structure from floweditor to the Glific data types