Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

It is mainly used to programmatically call functions inside of other picos from inside a rule. However, do not have a pico query itself, or have two picos query each other simultaneously. See Accessing a Function Shared by Another Pico for more information.

Parameters
ParameterDatatypeDescription
eciStringThe ECI to send the event to
modStringThe ruleset to send the event to
funcStringThe name of the function to query
paramsObjectThe parameters to be passed to the function on the target pico. Given as an object with parameter name mapped to argument value.
_hostStringThe target pico's host
_pathStringAn optional different path for the beginning of the underlying URL
_root_urlStringThe root URL for the request. Defaults to meta:host (the pico engine itself).

...