Method Concurrent.Future()->call_callback()


Method call_callback

protected void call_callback(function(:void) cb, mixed ... args)

Description

Call a callback function.

Parameter cb

Callback function to call.

Parameter args

Arguments to call cb with.

The default implementation calls cb via do_call_callback() via the backend set by set_backend() (if any), and otherwise falls back to the the mode set by use_backend().

See also

set_backend(), use_backend()