Pike v8.0 release 1738

Method Concurrent.Future()->try_get()


Method try_get

mixed try_get()

Description

Return the value if available.

Returns

Returns UNDEFINED if the Future is not yet fulfilled.

Throws

Throws on rejection.

See also

wait()