Pudu programming language
Menu
API reference

Std.Concurrent.Pool.submitFor

1 declaration

fn

submitFor: &Std.Concurrent.Pool.Pool -> fn() -> T -> Result[Std.Concurrent.Future.Future[T], Std.Concurrent.ConcurrentError]

Queue a job and answer the future of its value; a crash settles the future with the crash.

Back to Std.Concurrent.PoolSearch related declarations