ocaml-multicore / picos

Interoperable effects based concurrency
https://ocaml-multicore.github.io/picos/doc/picos/index.html
ISC License
86 stars 3 forks source link

Use the new `Computation.peek_exn` when computation is completed #270

Closed polytypic closed 1 month ago

polytypic commented 1 month ago

The new Computation.peek_exn should be preferred over Computation.await in cases where the computation is supposed to be completed already.