Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 2

...

A prototype declaration is a Map with two keys:

KeyValue DatatypeDescription
new_picosArrayThis array is filled with maps which define each individual pico that will be created. See below.
subscriptionsArrayThis array is filled with tuples (for defining a single subscription amongst the new_picos array) or a map (for defining a subscription to some external pico). See below.

new_picos

Here is an example array defining the new_picos in a prototype:

...

The prototypes ruleset allows you to easily pass in any attributes you want during the creation process. Any extra attributes you provide (besides the ones explicitly listed above) are still sent through to the wrangler:child_creation event.

...

subscriptions

There are two different kinds of input into the subscriptions array:

...