easy_worker library

Classes

ComputeEntrypoint<I>
EasyCompute<R, I>
EasyWorker<R, I>
Creates and spawns an isolate that shares the same code as the current isolate.
Entrypoint<I>
A wrapper that creates two way communication possible.

Typedefs

MessageWithID<R> = (String, R)
PayloadCallback = Future<void> Function(Object? payload)
Sender = void Function(Object? message)
WorkerEntrypoint<I> = void Function(I message, Sender send)