You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme.md
+12-6Lines changed: 12 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,9 +69,7 @@ In this example, The return of `hello` event will trigger `world` event.
69
69
70
70
To make an event function, there are few elements:
71
71
72
-
* Input Signature: must be `(event: EventInput, global_ctx)`
73
-
*`EventInput` is the returns of the listening groups.
74
-
*`global_ctx` is set by you when invoking events, it can be anything and default to `None`
72
+
* Input Signature: must be `(event: EventInput, global_ctx)`. `EventInput` is the returns of the listening groups. `global_ctx` is set by you when invoking events, it can be anything and default to `None`
75
73
* Make sure you decorate the function with `@default_drive.make_event` or `@default_drive.listen_group([EVENT,...])`
76
74
77
75
Then, run your workflow from any event:
@@ -80,7 +78,7 @@ Then, run your workflow from any event:
0 commit comments