View Source Actors.Actor.Pool (spawn v1.0.0-rc.19)

This module provides functions for creating actor host pools for pooled actors.

Summary

Functions

Creates an actor host pool for a given pooled actor.

Functions

Link to this function

create_actor_host_pool(actor, opts)

View Source
@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

  • actor: The actor for which the host pool should be created.
  • opts: Additional options for the host pool.

Returns

Returns a list of HostActor structs representing the hosts in the pool.