Type alias SpawnOptions

SpawnOptions: {
    context?: Record<string, unknown>;
    name?: string;
}

Options for spawning a persistent instance.

Type declaration

  • Optional context?: Record<string, unknown>

    Initial context to use for the instance.

  • Optional name?: string

    Local name of the instance. If specified, may be used in calls to sendTo to refer to the actor.

Generated using TypeDoc