Module

Erl.Process

Package
erl-process
Repository
purerl/purescript-erl-process

#Process Source

newtype Process (a :: Type)

Instances

#toPid Source

toPid :: forall a. Process a -> Pid

#send Source

send :: forall a. Process a -> a -> Effect Unit

#(!) Source

Operator alias for Erl.Process.send (right-associative / precedence 6)

#receive Source

receive :: forall a. ProcessM a a

#receiveWithTimeout Source

receiveWithTimeout :: forall a. Milliseconds -> a -> ProcessM a a

#spawn Source

spawn :: forall a. ProcessM a Unit -> Effect (Process a)

#sendExitSignal Source

#HasProcess Source

class HasProcess b a  where

Members

Instances

#ReceivesMessage Source

class ReceivesMessage :: forall k. k -> Type -> Constraintclass ReceivesMessage a msg | a -> msg

Instances

#HasSelf Source

class HasSelf :: (Type -> Type) -> Type -> Constraintclass HasSelf (x :: Type -> Type) a | x -> a where

Members

Instances

#trapExit Source

trapExit :: forall a b. ProcessTrapM a b -> ProcessM a b

#receiveWithTrap Source

#receiveWithTrapAndTimeout Source

#unsafeRunProcessM Source

unsafeRunProcessM :: forall a b. ProcessM a b -> Effect b

Re-exports from Erl.Process.Raw

#ExitReason Source

#ExitMsg Source