JSGlobalContextRetain top-level property
Retains a global JavaScript execution context.
ctx (JSGlobalContextRef) The JSGlobalContext to retain.
@result (JSGlobalContextRef) A JSGlobalContext that is the same as ctx.
Implementation
final JSGlobalContextRef Function(JSGlobalContextRef ctx)
JSGlobalContextRetain =
kLookup<NativeFunction<JSGlobalContextRef Function(JSGlobalContextRef)>>(
'JSGlobalContextRetain',
).asFunction();