Pike v8.0 release 1738

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.