Copyright | Copyright (c) 2015-2017 David Sorokin <david.sorokin@gmail.com> |
---|---|
License | BSD3 |
Maintainer | David Sorokin <david.sorokin@gmail.com> |
Stability | experimental |
Safe Haskell | None |
Language | Haskell98 |
Tested with: GHC 7.10.3
This module defines functions for working with messages.
- sendMessage :: forall a. Serializable a => ProcessId -> a -> Event DIO ()
- enqueueMessage :: forall a. Serializable a => ProcessId -> Double -> a -> Event DIO ()
- messageReceived :: forall a. Serializable a => Signal DIO a
Documentation
sendMessage :: forall a. Serializable a => ProcessId -> a -> Event DIO () Source #
Send a message to the specified remote process with the current receive time.
enqueueMessage :: forall a. Serializable a => ProcessId -> Double -> a -> Event DIO () Source #
Send a message to the specified remote process with the given receive time.
messageReceived :: forall a. Serializable a => Signal DIO a Source #
The signal triggered when the remote message of the specified type has come.