You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
900 B
24 lines
900 B
2 years ago
|
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;
|