lunaisadev-website-old/node_modules/rxjs/util/Immediate.d.ts

24 lines
900 B
TypeScript
Raw Normal View History

2021-07-28 01:40:12 +00:00
export declare class ImmediateDefinition {
private root;
setImmediate: (cb: () => void) => number;
clearImmediate: (handle: number) => void;
private identify(o);
tasksByHandle: any;
nextHandle: number;
currentlyRunningATask: boolean;
constructor(root: any);
canUseProcessNextTick(): boolean;
canUseMessageChannel(): boolean;
canUseReadyStateChange(): boolean;
canUsePostMessage(): boolean;
partiallyApplied(handler: any, ...args: any[]): () => void;
addFromSetImmediateArguments(args: any[]): number;
createProcessNextTickSetImmediate(): () => any;
createPostMessageSetImmediate(): () => any;
runIfPresent(handle: any): void;
createMessageChannelSetImmediate(): () => any;
createReadyStateChangeSetImmediate(): () => any;
createSetTimeoutSetImmediate(): () => any;
}
export declare const Immediate: ImmediateDefinition;