Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: a few small grammar fixes

...

When you visit this URL, the wrangler/subscription event will be sent to the Mischief Pico and the subscription will be created. The ruleset in each child pico will approve the subscription request. This will result in each of the two picos involved having a subscription. Each of them will also have a new channel, especially specially created for use with the subscription. Here is the new channel created for the Thing1 pico:

...

It is also possible to manually accept an inbound subscription request. Suppose, for the sake of example, that we later on create an a new thing pico, named "Thing 3" and we want it to join the party. We install into it the rulesets io.picolabs.subscription and mischief.thing so now all that is left is getting it subscribed. If we started with the Mischief pico as above, the thing pico would automatically accept the subscription, so let's start instead with the thing pico. We would request a subscription by sending this event to the thing pico:

...