(rontolisp) docs
← Functions

rontolisp:futurep

(rontolisp:futurep value)

Returns t if value is a future — as returned by calling an rontolisp:async-defun function, rontolisp:fetch or rontolisp:stream-read — and nil otherwise.

A future is an opaque value: it has no reader syntax and prints as #<FUTURE>. Its settled value is obtained with rontolisp:await.