@satumjs/async-override
override async for sandbox
Usage
getFileFakeUrl(fileName:string, appName?:string): string
satumMicroFetchFactory(
data: IMicroApp | { system: IActorSystem, appName?: string },
fetch?: typeof fetch,
): (req: string | RequestInfo, options?: RequestInit) => Promise<Response | undefined>
satumMicroFetchFactory(
data: IMicroApp | { system: IActorSystem, appName?: string },
customAjaxClass?: typeof XMLHttpRequest,
): XMLHttpRequest
satumMicroCreateElementFactory(
data: IMicroApp | { system: IActorSystem, appName?: string },
createElement?: typeof document.createElement,
fakeWinName?: string,
): (tagName: keyof HTMLElementTagNameMap, options?: ElementCreationOptions) => HTMLElement | null
satumMicroHeadAppendChildFactory(
fakeHead: HTMLElement,
appendChild?: typeof document.head.appendChild,
customProcess?: (el: HTMLElement, fakeHead: HTMLElement, embedStylesIntoTemplate?: boolean) => HTMLElement | boolean | undefined,
): appendChild(el: HTMLElement) => HTMLElement