work.suroh.tk/node_modules/rxjs/util/Immediate.d.ts

24 lines
900 B
TypeScript
Raw Normal View History

2019-12-02 12:22:45 +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;