View Source SpawnSdk.Flow.SideEffect (spawn_sdk v0.5.0-alpha.12)

Link to this section Summary

Link to this section Types

@type actor_name() :: String.t()
@type command() :: String.t() | atom()
@type payload() :: module() | nil
@type t() :: %SpawnSdk.Flow.SideEffect{
  actor_name: String.t(),
  command: String.t() | atom(),
  payload: module(),
  scheduled_to: integer() | nil
}

Link to this section Functions

Link to this function

effect(list, actor_name, command, payload \\ nil, opts \\ [])

View Source
@spec of() :: [t()]
Link to this function

to(actor_name, command, payload \\ nil, opts \\ [])

View Source
@spec to(actor_name(), command(), payload(), list()) :: t()