We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4f582c commit 432aae5Copy full SHA for 432aae5
packages/timeline/src/index.ts
@@ -23,17 +23,6 @@ export async function* action<T>(a: Action<T>): NonReuseableTimeline<T> {
23
yield a
24
}
25
26
-export function reuseableAction<T>({
27
- until,
28
- ...rest
29
-}: Omit<Action<T>, 'until'> & { readonly until?: () => Promise<unknown> }): ReusableTimeline<T> {
30
- return () =>
31
- action({
32
- ...rest,
33
- until: until?.(),
34
- })
35
-}
36
-
37
export async function* parallel<T>(
38
type: 'all' | 'race',
39
...timelines: Array<Timeline<T> | boolean>
0 commit comments