LocalInstances

com.dwolla.tracing.instances.LocalInstances

Attributes

Source
package.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Implicits

Implicits

implicit def catsMtlEffectLocalForIO[E](implicit ioLocal: IOLocal[E]): Local[IO, E]

Given an IOLocal[E], provides a Local[IO, E].

Given an IOLocal[E], provides a Local[IO, E].

Copied from armanbilge/oxidized but hopefully this instance can be brought into cats-effect someday and removed here. See typelevel/cats-effect#3385 for more discussion.

TODO remove if made more widely available upstream

Type parameters

E

the type of state to propagate

Value parameters

ioLocal

the IOLocal that propagates the state of the E element

Attributes

Returns

a Local[IO, E] backed by the given IOLocal[E]

Source
package.scala