Packages

Embedded Deno JS/TS runtime for Elixir via Rustler NIFs. Bidirectional Elixir<->JS calls and a pooled runtime.

Current section

Files

Jump to
tyrex lib tyrex runtime.ex
Raw

lib/tyrex/runtime.ex

defmodule Tyrex.Runtime do
@moduledoc """
Struct holding a reference to a Deno runtime NIF resource.
This is an opaque value managed internally by `Tyrex` — you should not
create or modify it directly.
"""
@enforce_keys [
:reference
]
@type t :: %__MODULE__{}
defstruct [:reference]
end