object IOLocal
- Companion:
- class
- Source:
- IOLocal.scala
Value members
Concrete methods
Creates a new instance of IOLocal with the given default value.
Creates a new instance of IOLocal with the given default value.
The creation is effectful, because IOLocal models mutable state, and allocating mutable state is not pure.
- Type parameters:
- A
the type of the local value
- Value parameters:
- default
the default value
- Source:
- IOLocal.scala