JavaScriptCore.VirtualMachine¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
Virtual Methods¶
- Inherited:
Properties¶
None
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class JavaScriptCore.VirtualMachine(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
JavaScriptCore.VirtualMachine
represents a group ofJavaScriptCore.Context
s. It allows concurrent JavaScript execution by creating a different instance ofJavaScriptCore.VirtualMachine
in each thread.To create a group of
JavaScriptCore.Context
s pass the sameJavaScriptCore.VirtualMachine
instance to everyJavaScriptCore.Context
constructor.- classmethod new()¶
- Returns:
the newly created
JavaScriptCore.VirtualMachine
.- Return type:
Create a new
JavaScriptCore.VirtualMachine
.