mirror of
https://github.com/status-im/nim-chronos.git
synced 2025-01-22 09:21:38 +00:00
e3c5a86a14
* Introduce chronos/internals, move some code This PR breaks the include dependencies between `asyncfutures2` and `asyncmacros2` by moving the dispatcher and some other code to a new module. This step makes it easier to implement `asyncraises` support for future utilities like `allFutures` etc avoiding the need to play tricks with include order etc. Future PR:s may further articulate the difference between "internal" stuff subject to API breakage and regular public API intended for end users (rather than advanced integrators). * names * windows fix
6 lines
146 B
Nim
6 lines
146 B
Nim
type
|
|
AsyncError* = object of CatchableError
|
|
## Generic async exception
|
|
AsyncTimeoutError* = object of AsyncError
|
|
## Timeout exception
|