Anchorage API reference
    Preparing search index...
    ThreadSignalRouter: (
        request: Request,
        scope: ThreadScope,
    ) => Promise<Response | null>

    A thread-DO signal router: (request, scope) => Response | null. null means the path is not one of ours, so the subclass's route() can compose it ahead of its own durable-agent routes. scope is the already-asserted ThreadScope (threadId, tenantId, init) the template-method fetch hands down.

    Type Declaration

      • (request: Request, scope: ThreadScope): Promise<Response | null>
      • Parameters

        Returns Promise<Response | null>