2 ms·
I have a very similar helper in multiple codebases in production. It has some additional bits to log errors and to handle tasks that should never complete (basi
by remram 4y ago
I have a very similar helper in multiple codebases in production. It has some additional bits to log errors and to handle tasks that should never complete (basically a flag to call sys.exit if they do) but it's basically this.
I don't understand why theads get a background mode but tasks can't be fire-and-forget.