UNPKG

@omneedia/socketcluster

Version:

SocketCluster - A Highly parallelized WebSocket server cluster to make the most of multi-core machines/instances.

15 lines (14 loc) 705 B
import { AsyncAction } from './AsyncAction'; import { AnimationFrameScheduler } from './AnimationFrameScheduler'; /** * We need this JSDoc comment for affecting ESDoc. * @ignore * @extends {Ignored} */ export declare class AnimationFrameAction<T> extends AsyncAction<T> { protected scheduler: AnimationFrameScheduler; protected work: (this: AnimationFrameAction<T>, state?: T) => void; constructor(scheduler: AnimationFrameScheduler, work: (this: AnimationFrameAction<T>, state?: T) => void); protected requestAsyncId(scheduler: AnimationFrameScheduler, id?: any, delay?: number): any; protected recycleAsyncId(scheduler: AnimationFrameScheduler, id?: any, delay?: number): any; }