keid-core-0.1.9.0: Core parts of Keid engine.
Safe HaskellSafe-Inferred
LanguageGHC2021

Engine.Events.Sink

Synopsis

Documentation

newtype Sink event rs Source #

Constructors

Sink 

Fields

spawn :: MonadSink rs m => (event -> m ()) -> m (ReleaseKey, Sink event rs) Source #

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.