Popcorn.TrackedObject (Popcorn v0.1.0)

View Source

Used to interoperate with JS.

Tracked objects are registered in the VM to keep a reference to JS value. If there is no reference to tracked object, corresponding JS value is removed.

See Popcorn.Wasm.run_js/3 for more details.

Summary

Types

t()

@type t() :: %Popcorn.TrackedObject{ref: term()}