Supervisor behavior for managing child processes.
Implements supervision trees with restart strategies.
Supervisor behavior for managing child processes. Implements supervision trees with restart strategies.
(check-child-specs specs)Validate a list of child specs.
Validate a list of child specs.
(count-children sup)Count children by status.
Count children by status.
(delete-child sup child-id)Delete a terminated child spec.
Delete a terminated child spec.
(start-child sup child-spec)Dynamically start a child process.
Dynamically start a child process.
(start-link sup-flags child-specs)(start-link sup-flags child-specs opts)Start a supervisor linked to current process.
sup-flags: {:strategy :one-for-one, :intensity 1, :period 5000} child-specs: [{:id :child1, :start [f args], :restart :permanent, ...} ...]
Returns {:ok pid} or {:error reason}.
Start a supervisor linked to current process.
sup-flags: {:strategy :one-for-one, :intensity 1, :period 5000}
child-specs: [{:id :child1, :start [f args], :restart :permanent, ...} ...]
Returns {:ok pid} or {:error reason}.(terminate-child sup child-id)Terminate a child process by id.
Terminate a child process by id.
(which-children sup)Get list of children managed by supervisor.
Get list of children managed by supervisor.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |