RustlerElixirFun.Internal (rustler_elixir_fun v0.3.0)

Link to this section Summary

Link to this section Functions

Link to this function

apply_elixir_fun(pid_or_name, fun, parameters)

Calls the Rust NIF directly.

This is mainly useful to simplify testing; in your actual projects, you'll want to call the Rust function directly from your Rust code.

Link to this function

apply_elixir_fun_timeout(pid_or_name, fun, parameters, timeout_milliseconds)

Calls the Rust NIF directly.

This is mainly useful to simplify testing; in your actual projects, you'll want to call the Rust function directly from your Rust code.

This variant allows customizing the maximum time we wait for the function to return (to prevent any deadlocks).