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.
This can be used whenever an arbitrary number of unique keys needs to be generated as this will just use memory location for equality.
An executor is responsible for executing actions. Each action is guaranteed to begin execution on a fresh stack frame.