mt-spec Pub

Diesel Multithreaded/async features

Fire and forget:

$when:: testdiesel.mt.fireForget (var)
   testdiesel.mt.child1 (var)

$when:: testdiesel.mt.child1 (var)
   ctx.sleep (duration:Number<-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


Was this useful?    

By: Razie | 2020-10-03 | Tags: spec , dsl


Viewed 18 times ( | Print ) this page.

You need to log in to post a comment!

© Copyright DieselApps, 2012-2020, all rights reserved.