Releases: hiway/asyncgnostic
Releases · hiway/asyncgnostic
v0.2.1
Full Changelog: v0.1.2...v0.2.1
- @awaitable decorator can be set to non-strict mode, allowing different return types and/or signatures between sync and async versions of a function.
- @awaitable decorator now complains if a non coroutine is passed to it
- Use async function's docstring if available, fallback to sync version (was backwards before)
100% more examples!
- Add second example: manually dispatch sync/async calls using
awaited
Credit where it is due.
No changes in code, adds credit to Curio in code comments.
It lives!
- Minimal implementation
- Tested on Python 3.9, 3.10, 3.11
Full Changelog: https://github.com/hiway/asyncgnostic/commits/v0.1.0