Safe Haskell | None |
---|---|
Language | Haskell2010 |
Handle atomic commands received by the client.
- cmdAtomicSemCli :: MonadClientSetup m => UpdAtomic -> m ()
- cmdAtomicFilterCli :: MonadClient m => UpdAtomic -> m [UpdAtomic]
Documentation
cmdAtomicSemCli :: MonadClientSetup m => UpdAtomic -> m () Source #
Effect of atomic actions on client state is calculated with the global state from before the command is executed.
cmdAtomicFilterCli :: MonadClient m => UpdAtomic -> m [UpdAtomic] Source #
Clients keep a subset of atomic commands sent by the server and add some of their own. The result of this function is the list of commands kept for each command received.