o1-labs / snarky

OCaml DSL for verifiable computation
MIT License
492 stars 73 forks source link

Async requests #841

Closed mitschabaude closed 5 months ago

mitschabaude commented 5 months ago

This adds a small Async_generic module to snarky which functors over a Promise (any Monad actually) module and implements an async handler for a unit Promise.t Request.t, needed by https://github.com/MinaProtocol/mina/pull/15305

This could be easily extended in the future to support more general async versions of exists