async_with v0.3.0 Release Notes
Release Date: 2018-02-28 // about 7 years ago-
✨ Enhancements
- Support
use AsyncWith
outside of a module. This allows interactive IEx sessions. - Raise
CompilerError
instead ofArgumentError
when theasync
macro is not used withwith
. - Raise
CompilerError
errors when no clauses nor blocks are provided. - Export formatter configuration via
.formatter.exs
. - Support single line usage (i.e.
async with a <- 1, do: a
). - Re-throw uncaught values (i.e.
async with _ <- throw(:foo), do: :ok
). - Re-raise unrescued errors (i.e.
async with _ <- raise("ops"), do: :ok
).
- Support