@@ -611,58 +611,6 @@ export type AsyncTaskFunction<T, Args extends any[]> = (
611611 ...args : Args
612612) => Promise < T > ;
613613
614- /**
615- * Creates a task with the `drop` modifier applied.
616- */
617- export function dropTask <
618- HostObject ,
619- T extends AsyncArrowTaskFunction < HostObject , any , any [ ] > ,
620- > ( asyncArrowTaskFn : T ) : TaskForAsyncTaskFunction < HostObject , T > ;
621- export function dropTask <
622- HostObject ,
623- O extends TaskOptions ,
624- T extends AsyncArrowTaskFunction < HostObject , any , any [ ] > ,
625- > ( baseOptions : O , asyncArrowTaskFn : T ) : TaskForAsyncTaskFunction < HostObject , T > ;
626-
627- /**
628- * Creates a task with the `enqueue` modifier applied.
629- */
630- export function enqueueTask <
631- HostObject ,
632- T extends AsyncArrowTaskFunction < HostObject , any , any [ ] > ,
633- > ( asyncArrowTaskFn : T ) : TaskForAsyncTaskFunction < HostObject , T > ;
634- export function enqueueTask <
635- HostObject ,
636- O extends TaskOptions ,
637- T extends AsyncArrowTaskFunction < HostObject , any , any [ ] > ,
638- > ( baseOptions : O , asyncArrowTaskFn : T ) : TaskForAsyncTaskFunction < HostObject , T > ;
639-
640- /**
641- * Creates a task with the `keepLatest` modifier applied.
642- */
643- export function keepLatestTask <
644- HostObject ,
645- T extends AsyncArrowTaskFunction < HostObject , any , any [ ] > ,
646- > ( asyncArrowTaskFn : T ) : TaskForAsyncTaskFunction < HostObject , T > ;
647- export function keepLatestTask <
648- HostObject ,
649- O extends TaskOptions ,
650- T extends AsyncArrowTaskFunction < HostObject , any , any [ ] > ,
651- > ( baseOptions : O , asyncArrowTaskFn : T ) : TaskForAsyncTaskFunction < HostObject , T > ;
652-
653- /**
654- * Creates a task with the `restartable` modifier applied.
655- */
656- export function restartableTask <
657- HostObject ,
658- T extends AsyncArrowTaskFunction < HostObject , any , any [ ] > ,
659- > ( asyncArrowTaskFn : T ) : TaskForAsyncTaskFunction < HostObject , T > ;
660- export function restartableTask <
661- HostObject ,
662- O extends TaskOptions ,
663- T extends AsyncArrowTaskFunction < HostObject , any , any [ ] > ,
664- > ( baseOptions : O , asyncArrowTaskFn : T ) : TaskForAsyncTaskFunction < HostObject , T > ;
665-
666614/**
667615 * A cancelation-aware variant of [Promise.all](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all).
668616 * The normal version of a `Promise.all` just returns a regular, uncancelable
0 commit comments