quickjs/quickjs_runtime2 library

Classes

IsolateFunction
Dart function wrapper for isolate
IsolateQjs
JSError
JS Error wrapper
JSEvalFlag
JSInvokable
js invokable
JSRef
JsTypedArrayTransfer
A native buffer whose ownership can be transferred to a QuickJS TypedArray.
JSTypedArrayType
JSTypedArrayEnum values (order matches quickjs.h).
NativeHeapUsage
C heap accounting: what the allocator holds vs what is actually live.
QuickJsRuntime2
Quickjs engine for flutter.

Functions

readBridgeStats() Map<String, int>
readNativeHeapUsage() NativeHeapUsage
Snapshot of NativeHeapUsage for the whole process.
trimNativeHeap() bool
Ask the C allocator to return free pages to the OS, and report whether it released anything. Unsupported allocators return false.