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.
CallResponse :: a -> CallId -> CallResponse adistributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types No documentation available.
type
DeferredCallHandler s a b = CallRef b -> CallHandler s a bdistributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types An expression used to handle a call message where the reply is deferred via the CallRef
PrioritiseCall :: (s -> Message -> Process (Maybe (Int, Message))) -> DispatchPriority sdistributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types No documentation available.
type
StatelessCallHandler s a b = CallRef b -> a -> Reply b sdistributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types An expression used to handle a call message ignoring server state
caller :: Message a b -> Maybe Recipientdistributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types Retrieve the Recipient from a Message. If the supplied message is a cast or chan message will evaluate to Nothing, otherwise Just ref.
initCall :: (Addressable s, Serializable a, Serializable b) => s -> a -> Process (CallRef b)distributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types The send part of the call client-server interaction. The resulting CallRef can be used to identify the corrolary response message (if one is sent by the server), and is unique to this call-reply pair.
rejectToCaller :: Message a b -> String -> Process ()distributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types Reject a call message with the supplied string. Sends CallRejected to the recipient if the input is a CallMessage, otherwise has no side effects.
unCaller :: CallRef a -> (Recipient, CallId)distributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types No documentation available.
-
distributed-process-client-server Control.Distributed.Process.ManagedProcess.Internal.Types Version of initCall that utilises "unsafeSendTo".
handleCall :: (Serializable a, Serializable b) => CallHandler s a b -> Dispatcher sdistributed-process-client-server Control.Distributed.Process.ManagedProcess.Server Constructs a call handler from a function in the Process monad. > handleCall = handleCallIf (const True)