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;
}
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;
}
Properties
addProtocol
makeRequest
makeRequest: (
request: RequestParameters,
abortController: AbortController,
) => Promise<GetResourceResponse<any>>
request: RequestParameters,
abortController: AbortController,
) => Promise<GetResourceResponse<any>>
registerRTLTextPlugin
registerRTLTextPlugin: (_: any) => void
registerWorkerSource
removeProtocol
removeProtocol: (customProtocol: string) => void