Pudu programming language
Menu
API reference

Std.Concurrent.Future.Future

1 declaration

type

Future

A value another thread is producing.

A future settles exactly once, with a value or with why its work failed. It settles even when the work crashes: start runs the work on a thread of its own inside Concurrent.contain, on a supervising thread that runs no caller code, and only the supervisor writes the outcome. Settling closes settled, which is what an untimed wait blocks on.

Back to Std.Concurrent.FutureSearch related declarations