Method Thread.Farm()->ResultWrapper()->set_done_cb()
- Method
set_done_cb
voidset_done_cb(function(:void)cb)- Description
Register a callback to be called when the result is available.
- Parameter
to Callback to be called. The first argument to the callback will be the result or the failure backtrace, and the second
0(zero) on success, and1on failure.