net.sf.asyncobjects.asyncscala.control.builders
This action is used for control constructs that return promise It allows to inject a new intermediate action before the previously set resolver executes.
This action is used for control constructs that return promise
It allows to inject a new intermediate action before the previously
set resolver executes. The new action does not returns anything,
but receives a new resolver as argument. See When
for example
of usage.
the previous resolver
the three argument closure, the first is a previous resolver, the next two arguments are calls to the injected resolver
a new resolver
Take the current promise resolver and chain it with smashed and finally actions
Take the current promise resolver and chain it with smashed and finally actions
the failed body for control construct
the finally body for control construct
the new resolver value
Some utilities that simplify implementation of control constructs