lib/r_stream/native.ex

defmodule RStream.Native do
  @moduledoc """
  A module defines all of native Stream functions when `use RStream.Native`.
  [See also.](https://hexdocs.pm/elixir/Stream.html)
  """
  @spec __using__(any) :: list
  defmacro __using__(_opts) do
    RUtils.define_all_functions!(Stream)
  end
end