status-im / nim-chronos

Chronos - An efficient library for asynchronous programming
https://status-im.github.io/nim-chronos/docs/chronos
Apache License 2.0
353 stars 51 forks source link

Introduce `chronos/futures` #405

Closed arnetheduck closed 1 year ago

arnetheduck commented 1 year ago

In this version, Future[T] backwards compatibility code remains in asyncfutures2 meaning that if only chronos/futures is imported, only "new" API is available.

This branch is a refinement / less invasive / minimal version of https://github.com/status-im/nim-chronos/pull/373.