Search
@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 }
@spec of() :: [t()]
@spec to(actor_name(), command(), payload(), list()) :: t()