CurrentFiber
zio.RuntimeFlag.CurrentFiber
case object CurrentFiber extends RuntimeFlag
The current fiber flag determines whether or not the ZIO runtime system will store the current fiber inside a ThreadLocal
whenever a fiber begins executing on a thread. Use of this flag will negatively impact performance, but is essential where interop with ThreadLocal is required.
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait RuntimeFlagclass Objecttrait Matchableclass Any
- Self type
-
CurrentFiber.type
Members list
In this article