You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
"Local service error: ret_code is 1024, error message is '\"The handler did not set any result. Make sure you are calling the right peer and the handler has been registered. Original request data was: serviceId='peer' fnName='identify' args=''\"'",
244
+
error: "Local service error: ret_code is 1024, error message is '\"The handler did not set any result. Make sure you are calling the right peer and the handler has been registered. Original request data was: serviceId='peer' fnName='identify' args=''\"'",
* The class representing Particle - a data structure used to perform operations on Fluence Network. It originates on some peer in the network, travels the network through a predefined path, triggering function execution along its way.
@@ -15,7 +15,7 @@ export class Particle {
15
15
* Creates a particle with specified parameters.
16
16
* @param { String }script - Air script which defines the execution of a particle – its path, functions it triggers on peers, and so on.
17
17
* @param { Map<string, any> | Record<string, any> } data - Variables passed to the particle in the form of either JS Map or JS object with keys representing variable names and values representing values correspondingly
18
-
* @param { [Number]=7000 } ttl - Time to live, a timout after which the particle execution is stopped by Aquamarine.
18
+
* @param { [Number]=7000 } ttl - Time to live, a timout after which the particle execution is stopped by AVM.
* @param { string } serviceId - The identifier of service which would be used to make calls from Aquamarine
74
-
* @param { string } fnName - The identifier of function which would be used to make calls from Aquamarine
75
-
* @param { (args: any[], tetraplets: SecurityTetraplet[][]) => object | boolean | number | string } handler - The handler which would be called by Aquamarine infrastructure. The result is any object passed back to Aquamarine
73
+
* @param { string } serviceId - The identifier of service which would be used to make calls from AVM
74
+
* @param { string } fnName - The identifier of function which would be used to make calls from AVM
75
+
* @param { (args: any[], tetraplets: SecurityTetraplet[][]) => object | boolean | number | string } handler - The handler which would be called by AVM. The result is any object passed back to AVM
* Registers an event-like handler for all calls to the specific service\function pair from from Aquamarine. The registration is per client basis. Return a function which when called removes the subscription.
108
+
* Registers an event-like handler for all calls to the specific service\function pair from AVM. The registration is per client basis. Return a function which when called removes the subscription.
109
109
* Same as registerServiceFunction which immediately returns empty object.
0 commit comments