It raises the
wrangler:ruleset_uninstalled event, passing through all attributes of the original uninstall event. The KRL programmer can write a rule which selects on that event, as needed.
shares a function named
picoQuery which is a user friendly way to make an HTTP request between picos. It provides cleanup and returns the error if the returned HTTP status was not 200.It a request between picos.
ctx:query() if the pico is on the same host and HTTP if it is not. When using HTTP, it provides cleanup and returns the error if the returned HTTP status was not 200.
picoQuery() is mainly used to programmatically call functions inside of other picos from inside a rule. However, deadlocks are possible due to its synchronous nature (e.g. do not let two picos query each other simultaneously). See Accessing a Function Shared by Another Pico for more information.
The ECI to send the query to
The RID of the ruleset to send the query to
The name of the function to query
The parameters to be passed to the function on the target pico. Given as a map with parameter name as the key and argument as the value.
The host of the pico engine being queried.
The sub path of the url which does not include mod or func.
The entire URL except eci, mod , func.
_host is missing or the same as the result returned by
picoQuery() will use
ctx:query() instead of HTTP.
Success: the result of the function queried for.
Failure: a map of error information which contains the
error and other optional information:
This map represents a breaking change. The previous map returned