zio.Unsafe
See theUnsafe companion object
sealed trait Unsafe extends Serializable
A marker interface used to indicate that a method is side-effecting, partial, or potentially type unsafe, such that it might throw a ClassCastException if used improperly. This marker interface is useful for certain low-level ZIO methods, to differentiate them from the higher-level methods, which are always pure, total, and type-safe.
import Unsafe.unsafe
unsafe { ... }
Attributes
- Companion
- object
- Graph
-
- Supertypes
In this article