Attributes
- Companion
- trait
- Source
- LocalProvider.scala
- Graph
-
- Supertypes
- Self type
-
LocalProvider.type
Members list
Value members
Concrete methods
Attributes
- Source
- LocalProvider.scala
Creates LocalProvider that derives Local instance from the given IOLocal.
Creates LocalProvider that derives Local instance from the given IOLocal.
Type parameters
- Ctx
-
the type of the context
- F
-
the higher-kinded type of a polymorphic effect
Value parameters
- ioLocal
-
the IOLocal to use
Attributes
- Source
- LocalProvider.scala
Creates LocalProvider that creates IOLocal under the hood to derive the Local instance.
Creates LocalProvider that creates IOLocal under the hood to derive the Local instance.
Type parameters
- Ctx
-
the type of the context
- F
-
the higher-kinded type of a polymorphic effect
Attributes
- Note
-
every invocation of the LocalProvider.local creates new IOLocal. If you want to use a custom IOLocal (e.g. to share it with other components) use LocalProvider.fromIOLocal.
- Source
- LocalProvider.scala
Creates LocalProvider that returns the given Local instance.
Creates LocalProvider that returns the given Local instance.
Type parameters
- Ctx
-
the type of the context
- F
-
the higher-kinded type of a polymorphic effect
Value parameters
- l
-
the Local to use
Attributes
- Source
- LocalProvider.scala
Implicits
Implicits
Attributes
- Source
- LocalProvider.scala
Attributes
- Source
- LocalProvider.scala
Inherited implicits
Attributes
- Inherited from:
- LocalProviderLowPriority
- Source
- LocalProvider.scala