JSGlobalContextSetName top-level property

void Function(JSGlobalContextRef ctx, JSStringRef name) JSGlobalContextSetName
final

Sets the remote debugging name for a context. ctx (JSGlobalContextRef) The JSGlobalContext that you want to name. name (JSStringRef) The remote debugging name to set on ctx.

Implementation

final void Function(JSGlobalContextRef ctx, JSStringRef name)
JSGlobalContextSetName =
    kLookup<NativeFunction<Void Function(JSGlobalContextRef, JSStringRef)>>(
      'JSGlobalContextSetName',
    ).asFunction();