dart-neats icon indicating copy to clipboard operation
dart-neats copied to clipboard

add support to execute task in isolated (in background outside the main thread)

Open insinfo opened this issue 4 years ago • 2 comments

add support to execute task in isolated (in background outside the main thread)

insinfo avatar Sep 29 '21 02:09 insinfo

This would be awesome to have. Maybe when running on the web use something like web workers

paurakhsharma avatar Apr 06 '22 04:04 paurakhsharma

Any change of plans?

alg520 avatar Apr 18 '22 08:04 alg520

No, plans this is not the purpose of this package.

The package is for ensuring that some tasks runs periodically in a cloud environment. Where and how that task runs is not something this package cares about. There is absolutely no reason you can't trigger the task to run in a background isolate, and no reason you couldn't write a package that runs a function in a background isolate when called. Then you could trigger this using this package.

This package is about scheduling reliably.

jonasfj avatar Sep 27 '22 20:09 jonasfj