File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/distributed-process-fsm/src/Control/Distributed/Process/FSM Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ callTimeout pid msg ti = bracket (monitor pid) unmonitor $ \mRef -> do
8080 Just m -> do mR <- unwrapMessage m
8181 case mR of
8282 Just r -> return $ Just r
83- _ -> die $ ExitOther $ baseErr ++ " .Client:InvalidResponseType"
83+ Nothing -> die $ ExitOther $ baseErr ++ " .Client:InvalidResponseType"
8484
8585-- | Make a synchronous /call/ to the FSM process at "ProcessId". If a
8686-- "Step" exists that upon receiving an event of type @m@ will eventually
@@ -98,4 +98,4 @@ call pid msg = bracket (monitor pid) unmonitor $ \mRef -> do
9898 mR <- unwrapMessage msg'
9999 case mR of
100100 Just r -> return r
101- _ -> die $ ExitOther $ baseErr ++ " .Client:InvalidResponseType"
101+ Nothing -> die $ ExitOther $ baseErr ++ " .Client:InvalidResponseType"
You can’t perform that action at this time.
0 commit comments