IO
A concrete implementation of Effect for handling side-effecting computations.
The IO class represents a computation that may perform side effects and produce a value of type A. It provides methods for transforming, chaining, and handling errors in a functional and type-safe manner. Computations are lazily evaluated when executed using run or runSync.
Parameters
A
The type of the value produced by the computation.
thunk
The suspendable computation that produces a value of type A.
See also
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard