Liking cljdoc? Tell your friends :D

loom-otp.process.monitor

Unidirectional monitors for observing process termination. Pids are Thread objects.

Unidirectional monitors for observing process termination.
Pids are Thread objects.
raw docstring

add-monitor!clj

(add-monitor! ref-id watcher-pid target-pid target-name)

Add a monitor. Internal use.

Add a monitor. Internal use.
sourceraw docstring

cleanup-monitors-for-watcher!clj

(cleanup-monitors-for-watcher! watcher-pid)

Remove all monitors owned by watcher. Called during process cleanup.

Remove all monitors owned by watcher. Called during process cleanup.
sourceraw docstring

demonitorclj

(demonitor ref)
(demonitor ref _opts)

Remove monitor.

Remove monitor.
sourceraw docstring

get-monitors-by-targetclj

(get-monitors-by-target target-pid)

Returns seq of monitor-info maps for monitors watching target-pid.

Returns seq of monitor-info maps for monitors watching target-pid.
sourceraw docstring

get-monitors-by-watcherclj

(get-monitors-by-watcher watcher-pid)

Returns seq of monitor-info maps for monitors owned by watcher-pid.

Returns seq of monitor-info maps for monitors owned by watcher-pid.
sourceraw docstring

monitorclj

(monitor target)

Monitor target process. Returns TRef. When target terminates, watcher receives [:DOWN ref :process target reason]. Must be called from within a process context.

Monitor target process. Returns TRef.
When target terminates, watcher receives [:DOWN ref :process target reason].
Must be called from within a process context.
sourceraw docstring

notify-monitors!clj

(notify-monitors! pid reason dying-ctx)

Notify all monitors watching pid that it has terminated. dying-ctx is the context from the dying process, passed along for tracing.

Notify all monitors watching pid that it has terminated.
dying-ctx is the context from the dying process, passed along for tracing.
sourceraw docstring

remove-monitor!clj

(remove-monitor! ref-id)

Remove a monitor by ref-id. Internal use.

Remove a monitor by ref-id. Internal use.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close