Hoogle Search
Within LTS Haskell 24.52 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
distributed-process-client-server Control.Distributed.Process.ManagedProcess.Client A safe version of syncCallChan, which returns Left ExitReason if the call fails.
tryCall :: (Addressable s, Serializable a, Serializable b) => s -> a -> Process (Maybe b)distributed-process-client-server Control.Distributed.Process.ManagedProcess.Client Version of safeCall that returns Nothing if the operation fails. If you need information about *why* a call has failed then you should use safeCall or combine catchExit and call instead. NOTE: this function does not catch exceptions! In fact, this API handles fewer exceptions than it's relative, "safeCall". Notably, exit signals, kill signals, and both synchronous and asynchronous exceptions can still terminate the caller abruptly. To avoid this consider masking or evaluating within your own exception handling code (as mentioned above).
type
CallHandler s a b = s -> a -> Reply b sdistributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types An expression used to handle a message and providing a reply
-
distributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types wrapper for a MonitorRef
CallMessage :: a -> CallRef b -> Message a bdistributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types No documentation available.
-
distributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types Wraps a consumer of the call API
CallRef :: (Recipient, CallId) -> CallRef adistributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types No documentation available.
-
distributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types Sent to a consumer of the call API when a server filter expression explicitly rejects an incoming call message.
CallRejected :: String -> CallId -> CallRejecteddistributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types No documentation available.
-
distributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types Response type for the call API