Skip to content

Commit 8690b03

Browse files
authored
Improve event handler doc (#6124)
1 parent 98dc86a commit 8690b03

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cylc/flow/cfgspec/workflow.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,10 @@ def get_script_common_text(this: str, example: Optional[str] = None):
413413
{item} = echo %(workflow)s
414414
415415
# configure multiple event handlers
416+
# (which will run in parallel)
416417
{item} = \\
417-
'echo %(workflow)s, %(event)s', \\
418-
'my_exe %(event)s %(message)s' \\
418+
'echo %(workflow)s %(event)s', \\
419+
'my_exe %(event)s %(message)s', \\
419420
'curl -X PUT -d event=%(event)s host:port'
420421
''')
421422
elif item.startswith("abort on"):

0 commit comments

Comments
 (0)