OpenWhisk parallel execution

261 Views Asked by At

I tried the code from this answer Parallel Actions in OpenWhisk

But instead of getting the result, i only get back the activationID. It seems that the actions are not blocking when invoking an array of actions?

1

There are 1 best solutions below

0
On

The calls to "action1, action2", in the code, which you have linked to, are done blocking. However, that does not affect the way you call the action itself. To call it blocking, use

wsk action invoke <action-name>  -b

This will give you a lot of output. You can reduce it by filtering to the result only

wsk action invoke <action-name> -br