Module dev_delegated_compute.erl¶
Simple wrapper module that enables compute on remote machines, implementing the JSON-Iface.
Description¶
This can be used either as a standalone, to
bring trusted results into the local node, or as the Execution-Device
of
an AO process.
Function Index¶
compute/3 | |
do_compute/3* | Execute computation on a remote machine via relay and the JSON-Iface. |
init/3 | Initialize or normalize the compute-lite device. |
normalize/3 | |
snapshot/3 |
Function Details¶
compute/3¶
compute(Msg1, Msg2, Opts) -> any()
do_compute/3 *¶
do_compute(ProcID, Msg2, Opts) -> any()
Execute computation on a remote machine via relay and the JSON-Iface.
init/3¶
init(Msg1, Msg2, Opts) -> any()
Initialize or normalize the compute-lite device. For now, we don't need to do anything special here.
normalize/3¶
normalize(Msg1, Msg2, Opts) -> any()
snapshot/3¶
snapshot(Msg1, Msg2, Opts) -> any()