Mesh.Actors.ActorSystem (Mesh v0.1.4)
View SourceCore actor invocation system.
Summary
Functions
Makes a synchronous call to a virtual process.
Makes an asynchronous cast to a virtual process.
Functions
@spec call(Mesh.Request.t()) :: {:ok, pid(), term()} | {:error, term()}
Makes a synchronous call to a virtual process.
Returns {:ok, pid, response} on success, or {:error, reason} on failure.
@spec cast(Mesh.Request.t()) :: :ok | {:error, term()}
Makes an asynchronous cast to a virtual process.
Returns :ok on success, or {:error, reason} on failure.