Hacker News new | past | comments | ask | show | jobs | submit login

There are two ways you can restart with the standard interface:

- create a new task (start over) and maybe delete the old task

- implement the task as a generator that can repeatedly yield values

I think this is as good as you can hope for without lots of other interfaces (and since you can implement all the promise types yourself, you can do that too).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: