FuncHandle class final

A wasmtime_func_t, copied out of a value or an extern.

Function references are plain index-like values bound to a store; they are not owned and nothing has to be released. The fields are plain integers so that the value can be sent to another isolate.

Constructors

FuncHandle(int storeId, int privateAddress)
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
isNull → bool
no setter
privateAddress → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
storeId → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

nullRef → const FuncHandle
A reference that does not point at any function (funcref null).