nim-chronos/chronos/internal
Jacek Sieka cd6369c048
`asyncraises` -> `async: (raises: ..., raw: ...)` (#455)
Per discussion in
https://github.com/status-im/nim-chronos/pull/251#issuecomment-1559233139,
`async: (parameters..)` is introduced as a way to customize the async
transformation instead of relying on separate keywords (like
asyncraises).

Two parameters are available as of now:

`raises`: controls the exception effect tracking
`raw`: disables body transformation

Parameters are added to `async` as a tuple allowing more params to be
added easily in the future:
```nim:
proc f() {.async: (name: value, ...).}`
```
2023-11-07 12:12:59 +02:00
..
asyncengine.nim `asyncraises` -> `async: (raises: ..., raw: ...)` (#455) 2023-11-07 12:12:59 +02:00
asyncfutures.nim `asyncraises` -> `async: (raises: ..., raw: ...)` (#455) 2023-11-07 12:12:59 +02:00
asyncmacro.nim `asyncraises` -> `async: (raises: ..., raw: ...)` (#455) 2023-11-07 12:12:59 +02:00
errors.nim Introduce chronos/internals, move some code (#453) 2023-10-17 20:25:25 +02:00
raisesfutures.nim `asyncraises` -> `async: (raises: ..., raw: ...)` (#455) 2023-11-07 12:12:59 +02:00