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
/
TaskFactory.d.ts
8 lines
(7 loc)
•
203 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
type
{
Task
}
from
'./types.js'
;
export
declare
class
TaskFactory
{
private
onError;
private
freeTasks;
constructor
(
onError
: (err:
any
) =>
void
);
create
(
task
:
() =>
void
):
Task
; }