UNPKG
@react-dnd/asap
Version:
latest (5.0.2)
5.0.2
5.0.1
5.0.0
4.0.1
4.0.0
3.0.0
High-priority task queue for Node.js and browsers
react-dnd/react-dnd
@react-dnd/asap
/
dist
/
RawTask.d.ts
9 lines
(8 loc)
•
254 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
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
; }