JavaScriptCore.VirtualMachine

g GObject.Object GObject.Object JavaScriptCore.VirtualMachine JavaScriptCore.VirtualMachine GObject.Object->JavaScriptCore.VirtualMachine

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

None

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GObject.Object

r

Class Details

class JavaScriptCore.VirtualMachine(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

JavaScriptCore.VirtualMachineClass

JavaScriptCore.VirtualMachine represents a group of JavaScriptCore.Context s. It allows concurrent JavaScript execution by creating a different instance of JavaScriptCore.VirtualMachine in each thread.

To create a group of JavaScriptCore.Context s pass the same JavaScriptCore.VirtualMachine instance to every JavaScriptCore.Context constructor.

classmethod new()
Returns:

the newly created JavaScriptCore.VirtualMachine.

Return type:

JavaScriptCore.VirtualMachine

Create a new JavaScriptCore.VirtualMachine.