View Source SpawnSdk.System behaviour (spawn_sdk v1.0.0-rc3)
System
defines the general behavior of the Spawn actor system.
It is through System implementations that the user can register, invoke,
and perform other activities with their Actors.
Link to this section Summary
Link to this section Types
Link to this section Callbacks
@callback invoke(actor_name(), invoke_opts()) :: {:ok, term()} | {:error, term()}
@callback spawn_actor(actor_name(), spawn_actor_opts()) :: {:ok, term()} | {:error, term()}