Anchorage API reference
    Preparing search index...
    BackgroundTaskRouter: (
        request: Request,
        tenantId: string,
    ) => Promise<Response | null>

    A router (request, tenantId) => Response | null. null means the path is not one of ours (the DO falls through). tenantId is the DO's own asserted tenant — never read from the request.

    Type Declaration

      • (request: Request, tenantId: string): Promise<Response | null>
      • Parameters

        • request: Request
        • tenantId: string

        Returns Promise<Response | null>