lib/rustler_elixir_fun.ex

defmodule RustlerElixirFun do
  # use Rustler,
  #   otp_app: :rustler_elixir_fun,
  #   crate: :rustler_elixir_fun

  # # def send_to_elixir(_pid, _value), do: :erlang.nif_error(:nif_not_loaded)

  # def apply_elixir_fun(_pid_or_name, _fun, _parameters), do: :erlang.nif_error(:nif_not_loaded)

  # @doc false
  # # Called internally by the wrapper process
  # # once it has finished running the elixir function,
  # # but should not ever be called directly.
  # def fill_future(_result, _future), do: :erlang.nif_error(:nif_not_loaded)
end