CooperativeYielding
zio.RuntimeFlag.CooperativeYielding
case object CooperativeYielding extends RuntimeFlag
The cooperative yielding flag determines whether the ZIO runtime will yield to another fiber while executing long-running effects or continuously forking fibers.
Disabling this flag is highly discouraged but it is necessary for cases where fine-grained control over fiber scheduling is required.
Attributes
- Graph
-
- Supertypes
- Self type
-
CooperativeYielding.type
Members list
In this article