executionHooks property

D4rtExecutionHooks? executionHooks
getter/setter pair

The per-execution hooks (GitHub #19) of every execution that does not pass its own hooks:; null: executions without hooks, unchanged.

Each execution with hooks gets a D4rtExecutionContext: onStart may refuse it, onImport sees its libraries, every entry of interpreted code from native code passes onEntry, revoke() refuses new entries while accepted work finishes, drained says when nothing of it is pending. See doc/execution_hooks.md.

Implementation

D4rtExecutionHooks? executionHooks;