![]() |
This method is very similar to the method described in section Applying
an Action Asynchronously without any Synchronization. The difference
is that it allows the user to chain a sequence of asynchronous operations,
while handing the (intermediate) results from one step to the next step
in the chain. Where hpx::apply
invokes a single function using 'fire and forget' semantics, hpx::apply_continue
asynchronously triggers
a chain of functions without the need for the execution flow 'to come
back' to the invocation site. Each of the asynchronous functions can
be executed on a different locality.