...
A prototype declaration is a Map with two keys:
Key | Value Datatype | Description |
---|---|---|
new_picos | Array | This array is filled with maps which define each individual pico that will be created. See below. |
subscriptions | Array | This 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:
...