Creates a new Fluence Peer instance.
Is not intended to be used manually. Subject to change
Initiates a new particle execution starting from local peer
particle to start execution of
Register handler for all particles
Register handler which will be called only for particle with the specific id
Get the peer's status
Registers marine service within the Fluence peer from wasm file. Following helper functions can be used to load wasm files:
buffer with the wasm file for service
the service id by which the service can be accessed in aqua
Removes the specified marine service from the Fluence peer
the service id to remove
Initializes the peer: starts the Aqua VM, initializes the default call service handlers and (optionally) connect to the Fluence network
object specifying peer configuration
Un-initializes the peer: stops all the underlying workflows, stops the Aqua VM and disconnects from the Fluence network
Checks whether the object is instance of FluencePeer class
object to check if it is FluencePeer
true if the object is FluencePeer false otherwise
Generated using TypeDoc
This class implements the Fluence protocol for javascript-based environments. It provides all the necessary features to communicate with Fluence network