Popcorn.TrackedObject (Popcorn v0.1.0)
View SourceUsed 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
@type t() :: %Popcorn.TrackedObject{ref: term()}