You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are several useful things that may be built on top of the primitives, e.g.:
withProcess :: MonadProcess r m => Process r a -> (ProcessId -> Process r b) -> Process r b, a bracket-style utility which allows to spawn a process, run some other code given its PID, and kill the process at the end of the scope.
exit' which takes a plain SomeException instead of Maybe SomeException as exit does.
The text was updated successfully, but these errors were encountered:
There are several useful things that may be built on top of the primitives, e.g.:
withProcess :: MonadProcess r m => Process r a -> (ProcessId -> Process r b) -> Process r b
, abracket
-style utility which allows to spawn a process, run some other code given its PID, andkill
the process at the end of the scope.exit'
which takes a plainSomeException
instead ofMaybe SomeException
asexit
does.The text was updated successfully, but these errors were encountered: