Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ContextT c m a = ContextT {
- runContextT :: ContextBackend c -> m a
- mapContextT :: forall m n c a b. (m a -> n b) -> ContextT c m a -> ContextT c n b
- attachContextValue :: forall m a b. (MonadIO m, MonadMask m) => a -> ContextT a m b -> ContextT a m b
- getAttachedContextValue :: forall m a. (MonadIO m, MonadMask m) => ContextT a m (Maybe a)
- getAttachedContext :: forall m a. (MonadIO m, MonadThrow m) => ContextT a m Context
- module OTel.API.Context.Core
Introduction
otel-api-context
STUB
newtype ContextT c m a Source #
ContextT | |
|
Instances
mapContextT :: forall m n c a b. (m a -> n b) -> ContextT c m a -> ContextT c n b Source #
Context operations
attachContextValue :: forall m a b. (MonadIO m, MonadMask m) => a -> ContextT a m b -> ContextT a m b Source #
getAttachedContext :: forall m a. (MonadIO m, MonadThrow m) => ContextT a m Context Source #
module OTel.API.Context.Core