capture

open fun capture(block: () -> V): Boolean

Run the given block (in the foreground) and set this future to its outcome.