3 ms·
> It's not obvious what to do with long-running background tasks though. You avoid them and chunk the work into pieces. That's what every framework for long-r
by marcosdumay 3y ago
> It's not obvious what to do with long-running background tasks though.
You avoid them and chunk the work into pieces.
That's what every framework for long-running tasks do; that's what people that write them by hand ends-up doing after the first or second time they fat-finger a CTRL-C.
That's the only way to make those tasks viable.