async_with v0.3.0 Release Notes

Release Date: 2018-02-28 // over 3 years ago
  • ✨ 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).