Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- newtype Sink event rs = Sink {}
- spawn :: MonadSink rs m => (event -> m ()) -> m (ReleaseKey, Sink event rs)
- type MonadSink rs m = (MonadReader (App GlobalHandles rs) m, MonadState rs m, MonadResource m, MonadUnliftIO m)
Documentation
type MonadSink rs m = (MonadReader (App GlobalHandles rs) m, MonadState rs m, MonadResource m, MonadUnliftIO m) Source #
A collection of properties that are available while handling events.
Has access to a stage RunState
, but not Frame
data.