Who Supervises the Supervisor?
BREAKING CHANGES
- Introduction of the
Process
type which is composed of bothSupervisor
and
Worker
types - Replace
defWorkerSpec
in favor ofworkerSpec
andworkerSpecWithDefaults
to build static workers - Replace of
defWorkerOptions
in favor ofbuildWorkerOptions
and
buildWorkerOptionsWithDefaults
to build dynamic workers - Replace
terminateWorker
in favor ofterminateProcess
- Add
supervisorSpec
,supervisorSpecWithDefaults
to build static supervision
trees - Add
forkSupervisor
,buildSupervisorOptions
and
buildSupervisorOptionsWithDefaults
to build dynamic supervision trees - Replace usage of default records semantics in favor of Lenses
- Add
joinCapatazThread
to avoid providing direct access to async of root
supervision tree - Add
getSupervisorProcessId
to access theProcessId
of a givenSupervisor
record (for dynamic termination) - Add
getSupervisorAsync
to access theAsync ()
record of a supervisor
process thread - Add
getCapatazTeardown
to access theTeardown
record of the capataz system - Move
CapatazEvent
records to new moduleControl.Concurrent.Capataz.Event
to avoid requiringDuplicateRecordFields
extension on API users - Remove
WorkerAction
alias as it is used for library development
documentation - Add capataz-repo-watcher example to showcase static supervision trees
- Update capataz-simple-example unix-process example
forkCapataz
signature now requires name for root supervisor