Emits when a worker experiences an unhandled error.
Resolves when no workers are active.
Emits when a worker is added when previously there were none.
Emits when the last worker departs.
Add a Worker.
The runtime considers itself "active" if there are one or more workers installed.
A worker must either be PromiseLike or Constructable for the runtime to detect completion. On completion the worker is removed and destroyed if the worker is Destructable.
Once added, the worker is owned by the RuntimeService until closed, resolved or removed via delete.
Remove a worker.
Static
[create]
Handles lifecycle management of other components.