funcdeclarations are turned into callable async functions
servicedeclarations are turned into functions which register callback handler in a typed manner
Fluencefacade. It provides easy way to start and stop the Fluence Peer. The facade API is enough for the most of the uses cases.
@fluencelabs/fluencepackage also exports the
FluencePeercannot be discovered by it's Peer Id on it's own. To overcome this
FluencePeermust use an existing node which will act as a
relay. When a peer is connected through a relay it is considered to be
FluencePeerroutes all it's particle through it's relay thus taking advantage of the peer discovery implemented on the node. A particle sent to the connected client must be routed through it's relay.
FluencePeercan initiate new particles execution. Aqua compiler generates executable functions from
funcdefinitions in aqua code.