Distributed v0.1.0 Distributed.Scaler.Node View Source
The functions in Distributed.Scaler.Node
module helps to scale projects by processing every event on the next node, in order.
Note: Since this module is only a wrapper for Node
module, there is no need to write a detailed documentation for this module.
Please check documentation of the Node
module; you can basically think that the functions of the module run on the next node
without specifying the node, and you will be replied with the result of the process.
You can use this module mostly for read operations, loop actions or background tasks. It is suitable when you do not need replication of events.
Link to this section Summary
Functions
Returns the PID of a new process started by the application of fun
on the next node.
See Node.spawn/2
and Node.spawn/3
Returns the PID of a new process started by the application of module.fun(args)
on the next node.
See Node.spawn/4
and Node.spawn/5
Returns the PID of a new linked process started by the application of fun
on the next node.
See Node.spawn_link/2
Returns the PID of a new linked process started by the application of module.function(args)
on the next node.
See Node.spawn_link/4
Link to this section Functions
spawn(fun :: (() -> any), opts :: [any]) :: pid | {pid, reference}
Returns the PID of a new process started by the application of fun
on the next node.
See Node.spawn/2
and Node.spawn/3
.
spawn(module :: module, fun :: atom, args :: [any], opts :: [any]) :: pid | {pid, reference}
Returns the PID of a new process started by the application of module.fun(args)
on the next node.
See Node.spawn/4
and Node.spawn/5
.
Returns the PID of a new linked process started by the application of fun
on the next node.
See Node.spawn_link/2
.
spawn_link(module :: module, fun :: atom, args :: [any]) :: pid
Returns the PID of a new linked process started by the application of module.function(args)
on the next node.
See Node.spawn_link/4
.