Pike v8.1 release 6

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


Method set_done_cb

void set_done_cb(function(:void) to)

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.