Spawn a new process
Spawn a new process
In Hamler, a new process is created via the spawn functions, which are defined in Control.Process.Spawn module.
-- | Create a process
spawn :: forall a. IO a -> Process Pid
-- | Create and link a process
spawnLink :: forall a. IO a -> Process Pid
-- | Create and monitor a process
spawnMonitor :: forall a. IO a -> Process (Pid, Ref)
