Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Functions for constructing and activating Mapping
s
Synopsis
- mappingCmdWith :: Member Rpc r => (Text -> Text -> Text -> Map Text Object -> RpcCall ()) -> Mapping -> Sem r ()
- mappingCmd :: Member Rpc r => Mapping -> Sem r ()
- bufferMappingCmd :: Member Rpc r => Buffer -> Mapping -> Sem r ()
- activateMapping :: Member Rpc r => Mapping -> Sem r ()
- activateBufferMapping :: Member Rpc r => Buffer -> Mapping -> Sem r ()
- mappingFor :: RpcHandler r -> MappingLhs -> NonEmpty MapMode -> Maybe MappingId -> Map Text Object -> Mapping
- eventMapping :: EventName -> MappingLhs -> NonEmpty MapMode -> Maybe MappingId -> Map Text Object -> Mapping
Documentation
mappingCmdWith :: Member Rpc r => (Text -> Text -> Text -> Map Text Object -> RpcCall ()) -> Mapping -> Sem r () Source #
Generate an atomic call executing a mapping cmd for all modes specified in the Mapping
and run it.
mappingCmd :: Member Rpc r => Mapping -> Sem r () Source #
Generate an atomic call executing a mapping cmd for all modes specified in the Mapping
and run it.
Generate an atomic call executing a buffer mapping cmd for all modes specified in the Mapping
and run it.
activateBufferMapping :: Member Rpc r => Buffer -> Mapping -> Sem r () Source #
Register a mapping in the supplied buffer.
mappingFor :: RpcHandler r -> MappingLhs -> NonEmpty MapMode -> Maybe MappingId -> Map Text Object -> Mapping Source #
Construct a Mapping
using the name from the supplied RpcHandler
.