-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
Description
There are two related problems with using Task with no deps (an always executed once task):
- new Task() doesn't support being called with no deps function
- A deps function of
() => []causes the task function to never be called
Steps to Reproduce
- Write this code
new Task(this, fn, () => [])- See this output...
Live Reproduction Link
Expected Results
The task function is called
Actual Results
It's not
Metadata
Metadata
Assignees
Labels
No labels