Skip to content

v0.3.0

Latest
Compare
Choose a tag to compare
@fertapric fertapric released this 28 Feb 10:06
· 55 commits to master since this release

Enhancements

  • Support use AsyncWith outside of a module. This allows interactive IEx sessions.
  • Raise CompilerError instead of ArgumentError when the async macro is not used with with.
  • 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).