Major Changes
-
#3939
91bc6fdd5
Thanks @davidkpiano! - Action/actor/delay/guard arguments are now consolidated into a single object argument. This is a breaking change for all of those things that are called with arguments.assign({ - count: (context, event) => { + count: ({ context, event }) => { return context.count + event.value; } })
-
#3939
91bc6fdd5
Thanks @davidkpiano! - Guard arguments are now consolidated into a single object argument. This is a breaking change for all guards that are called with arguments.- guard: (context, event) => { + guard: ({ context, event }) => { return context.count + event.value > 10; }