NodeCompatHandle class
Returned by installNodeCompat so the embedding can adjust per-script
state after install (and tear the surface down with dispose).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
drainTimers(
{Duration? deadline}) → TimerDrainStats - Drains due timers and immediates, per NodeCompatConfig.timerDrain.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setScriptPath(
String path) → void -
Updates
__filename/__dirnameandprocess.argv[1]topath. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited