For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface WorkerGlobalScopeInterface

interface WorkerGlobalScopeInterface {
    addProtocol: (customProtocol: string, loadFn: AddProtocolAction) => void;
    makeRequest: (
        request: RequestParameters,
        abortController: AbortController,
    ) => Promise<GetResourceResponse<any>>;
    registerRTLTextPlugin: (_: any) => void;
    registerWorkerSource: (
        sourceName: string,
        sourceConstructor: WorkerSourceConstructor,
    ) => void;
    removeProtocol: (customProtocol: string) => void;
    worker: Worker$1;
}
Index

Properties

addProtocol: (customProtocol: string, loadFn: AddProtocolAction) => void
makeRequest: (
    request: RequestParameters,
    abortController: AbortController,
) => Promise<GetResourceResponse<any>>
registerRTLTextPlugin: (_: any) => void
registerWorkerSource: (
    sourceName: string,
    sourceConstructor: WorkerSourceConstructor,
) => void
removeProtocol: (customProtocol: string) => void
worker: Worker$1
Was this helpful?