Create a pair of actor-based I/O channel endpoints, with a specific name.
Create a pair of actor-based I/O channel endpoints, with a specific name.
Unlike factory[T]()*, this method allows to assign a meaningful name to the actor giving access to returned I/O channel endpoints: this is reflected in their Actor Paths.
Name of the Akka actor giving access to the returned actor endpoints.
Execution context for internal Promise
/Future
handling
Actor context for internal actor management
Create a pair of actor-based I/O channel endpoints.
Create a pair of actor-based I/O channel endpoints.
Execution context for internal Promise
/Future
handling
Actor context for internal actor management
Spawn two functions as threads communicating via a pair of actor-based channel endpoints.
Spawn two functions as threads communicating via a pair of actor-based channel endpoints.
This method invokes factory[T]()* to create a pair of channel endpoints
(in,out)
, and then spawns p1(in)
and p2(out)
.
Function using the input channel endpoint
Function using the output channel endpoint
Execution context where the p1
and p2
will run
Actor context for internal actor management
A pair of Future
s (f1, f2)
, completed respectively when
p1(in)
and p2(out)
terminate.
Set the default actor system for actor-based channels.
Set the default actor system for actor-based channels.
This default must be provided before using ActorChannel
s over a network.
Set the default execution context for actor-based channels, if it was not already set.
Set the default execution context for actor-based channels, if it was not already set.
This default must be provided before using ActorChannel
s over a network.
true
if the default is updated, false
if it was already set
Set the default execution context for actor-based channels.
Set the default execution context for actor-based channels.
This default must be provided before using ActorChannel
s over a network.
Set the default execution context for actor-based channels, if it was not already set.
Set the default execution context for actor-based channels, if it was not already set.
This default must be provided before using ActorChannel
s over a network.
true
if the default is updated, false
if it was already set
Channels that implement message delivery by automatically spawning Akka Typed actors.