View Source Actors.Actor.Pool (spawn v0.6.2)
This module provides functions for creating actor host pools for pooled actors.
Link to this section Summary
Functions
Creates an actor host pool for a given pooled actor.
Link to this section Functions
@spec create_actor_host_pool( Eigr.Functions.Protocol.Actors.Actor.t(), keyword() ) :: [Actors.Registry.HostActor.t()]
Creates an actor host pool for a given pooled actor.
parameters
Parameters
actor
: The actor for which the host pool should be created.opts
: Additional options for the host pool.
returns
Returns
Returns a list of HostActor
structs representing the hosts in the pool.