Makes current process go to sleep
Removes the monitor
Reference to monitor
Removes the key and the associated value from the current process's dictionary
If no key is given, removes all entries from the current process's dictionary
the key to remove
terminates the current process with an error
terminates the current process with the given reason.
Gets a value from the current process's dictionary or the default if key not in dictionary
Gets all the keys from the current process's dictionary
Gets the current process's dictionary
Returns if the given pid is alive
links the current process with the process from the given pid
pid of the process to link to
Returns a list of all the pids
Returns a unique reference
Monitors the given process
pid of the process to link to
Returns the PID of the current process
takes the input and tries to find the pid. Input can be a pid
, Process
, or name the pid is associated with
The registered name or pid of the process
Sets flags on the current process.
Symbol.for("trap_exit")
flag.
If value is true
, then exit signals from linked processes are turned into
messages and sent to the current processes mailbox.
If value is false
, the exit is treated as normal and terminates the process.
Setting it to true
is useful for supervising processes.Adds a value to the current process's dictionary
Tells the current process to receive a message that the function can handle. If no match then the process is put in the suspended state until a message arrives or the timeout is reached. If the timeout is reached and no msg matches, then the timeoutFn is called
registers the given name to the pid
The name to give the process
The pid of the process
returns the liast of names that are registered
Schedules execution of a process reduction
sends a message the the process represented by the pid
Sets the current process
PID or name of process
puts the current process to sleep
Starts a process represented by the given generator function
Either a generator function or a module, function and arguments
Starts a process using the generator function from the specified module
Either a generator function or a module, function and arguments
Spawns a process and then monitors it
Either a generator function or a module, function and arguments
Suspends the current process
unlinks the current process from the process from the given pid
pid of the process to link to
unregisters the names associated with the pid
The pid of the process
Finds a process by the given name
the name of the process
Generated using TypeDoc
Manages all of the processes.