Anchorage API reference
    Preparing search index...
    interface StreamRouterOptions {
        deploymentIdentitySecret: string;
        hub: HubNamespaceLike;
        resolve: ActorResolver;
        runner: RunnerNamespaceLike;
        ticketSecret: string;
        wsBaseUrl?: string;
        runStatus(
            workflowId: string,
            runId: string,
        ): Promise<RunSummary | undefined>;
    }
    Index

    Properties

    deploymentIdentitySecret: string

    Per-deployment Worker-to-DO credential.

    The deployment hub namespace the hub channel forwards to.

    resolve: ActorResolver

    The shared authenticate-and-validate resolver used by the ticket route.

    The runner namespace the per-run channel forwards to (idFromName wf:runId).

    ticketSecret: string

    The dedicated stream-ticket signing secret (STREAM_TICKET_SECRET).

    wsBaseUrl?: string

    Optional origin for the ws:// URL returned by the ticket route (e.g. wss://host). Omitted => a same-origin relative path the browser resolves against the page origin.

    Methods