Documentation
    Preparing search index...
    interface ManagerDriver {
        extraStartupLog?: () => Record<string, unknown>;
        getOrCreateInspectorAccessToken: () => string;
        modifyManagerRouter?: (
            registryConfig: { use: Record<string, AnyActorDefinition> },
            router: Hono,
        ) => void;
        createActor(input: CreateInput): Promise<ActorOutput>;
        displayInformation(): ManagerDisplayInformation;
        getForId(input: GetForIdInput): Promise<ActorOutput | undefined>;
        getOrCreateWithKey(input: GetOrCreateWithKeyInput): Promise<ActorOutput>;
        getWithKey(input: GetWithKeyInput): Promise<ActorOutput | undefined>;
        listActors(input: ListActorsInput): Promise<ActorOutput[]>;
        openWebSocket(
            path: string,
            actorId: string,
            encoding: "json" | "cbor" | "bare",
            params: unknown,
        ): Promise<UniversalWebSocket>;
        proxyRequest(
            c: Context,
            actorRequest: Request,
            actorId: string,
        ): Promise<Response>;
        proxyWebSocket(
            c: Context,
            path: string,
            actorId: string,
            encoding: "json" | "cbor" | "bare",
            params: unknown,
        ): Promise<Response>;
        sendRequest(actorId: string, actorRequest: Request): Promise<Response>;
    }
    Index

    Properties

    extraStartupLog?: () => Record<string, unknown>
    getOrCreateInspectorAccessToken: () => string

    Get or create the inspector access token.

    Type Declaration

      • (): string
      • Returns string

        creates or returns existing inspector access token

    modifyManagerRouter?: (
        registryConfig: { use: Record<string, AnyActorDefinition> },
        router: Hono,
    ) => void

    Methods

    • Parameters

      • c: Context
      • path: string
      • actorId: string
      • encoding: "json" | "cbor" | "bare"
      • params: unknown

      Returns Promise<Response>