Method Thread.Farm()->ResultWrapper()->set_done_cb()


Method set_done_cb

void set_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, and 1 on failure.