Anchorage API reference
    Preparing search index...

    Structural subset of DurableObjectState the per-tenant hub DO (hub-do.ts) reads: its OWN idFromName identity — id.name IS the bare tenantId, with no ':' join and no runId decode, unlike DurableObjectRunner whose name is ${workflowId}:${runId} — plus the Hibernatable-WebSocket members it fans events out over. The hub holds no D1/DO storage, so storage is not required here. Same OPTIONAL-WS, guard-on-presence posture as DurableObjectRunnerState.

    interface HubDurableObjectState {
        id: { name?: string };
        acceptWebSocket?(ws: WebSocketLike, tags?: string[]): void;
        getWebSockets?(tag?: string): WebSocketLike[];
    }
    Index

    Properties

    id: { name?: string }

    Methods