Fire and forget:
$when::
testdiesel.mt.fireForget (var)
testdiesel.mt.child1 (var)
$when::
testdiesel.mt.child1 (var)
ctx.sleep (duration:Number=300
=300)
. (payload
=(var + 1)
)
Fire and wait
$when::
testdiesel.mt.requestResponse (var)
testdiesel.mt.child1 (var)
Fire and wait in parallel (fork/join)
$when::
testdiesel.mt.forkJoin (var)
testdiesel.mt.child1 (var)
testdiesel.mt.child1 (var)
testdiesel.mt.child1 (var)
$flow:: testdiesel.mt.forkJoin => testdiesel.mt.child1
You need to log in to post a comment!