threads-supervisor-1.1.0.0: Simple, IO-based library for Erlang-style thread supervision

Safe HaskellSafe
LanguageHaskell2010

Control.Concurrent.Supervisor

Synopsis

Documentation

newSupervisorSpec :: RestartStrategy -> IO SupervisorSpec Source

Creates a new SupervisorSpec. The reason it doesn't return a Supervisor is to force you to call supervise explicitly, in order to start the supervisor thread.