UNPKG

@react-dnd/asap

Version:

High-priority task queue for Node.js and browsers

9 lines (8 loc) 254 B
import type { Task, TaskFn } from 'types'; export declare class RawTask implements Task { private onError; private release; task: TaskFn | null; constructor(onError: (err: any) => void, release: (t: RawTask) => void); call(): void; }