We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
before_started
1 parent 1b0a958 commit b42f6a2Copy full SHA for b42f6a2
README.md
@@ -308,7 +308,10 @@ module MyProcess
308
# defines a process
309
define_process do
310
311
- # tasks, sub-process, etc.
+ # define task to execute on before
312
+ before_started :slack_notification
313
+
314
+ # usual tasks, sub-process, etc.
315
316
# define task to execute on completion
317
after_completed :further_process
@@ -318,6 +321,10 @@ module MyProcess
318
321
319
322
end
320
323
324
+ def slack_notification
325
+ # ...
326
+ end
327
328
def further_process
329
# ...
330
0 commit comments