-
-
Notifications
You must be signed in to change notification settings - Fork 327
Actions
Christian Muehlhaeuser edited this page Feb 25, 2017
·
7 revisions
Actions are methods a Bee offers you and which can get called by one of your Chains. Just like Events get triggered with a set of parameters, Actions expect you to pass a set of parameters to them.
Each Action will require different parameters. Just as an example, there's TwitterBee's tweet
Action, which expects only one parameter, called status
. Whatever you set this parameter to, when tweet
gets called, it will post a new tweet with its value.
Naturally it would be pretty boring if you could only set a fixed value for each Action parameter in your Chain. That's why you can reference all of the Event's parameters, too, and even manipulate their values.