An executor is responsible for executing actions.
A MutableConcurrentQueue interface to use under the hood in ZIO.
A MutableConcurrentQueue interface to use under the hood in ZIO.
The implementation at minimum: 1. Should be non-blocking and ideally lock-free. 2. Should provide basic metrics such as how many elements were enqueued/dequeued.
this is declared as abstract class
since invokevirtual
is slightly cheaper than invokeinterface
.
A Platform
provides the minimum capabilities necessary to bootstrap
execution of ZIO
tasks.
An executor is responsible for executing actions. Each action is guaranteed to begin execution on a fresh stack frame.