Prelude API
    Preparing search index...

    Interface Ref<M, R>

    Send-only handle to an actor: what callers that should not manage the lifecycle receive.

    interface Ref<M, R = void> {
        name?: string;
        ask(message: M, options?: AskOptions): Promise<R>;
        send(message: M): Promise<void>;
    }

    Type Parameters

    • M
    • R = void

    Implemented by

    Index
    name?: string
    • Parameters

      • message: M

      Returns Promise<void>