JSContextGroup class
JSContextGroupRef A group that associates JavaScript contexts with one another. Contexts in the same group may share and exchange JavaScript objects.
Constructors
-
JSContextGroup(Pointer<
NativeType> pointer) - JSContextGroup.create()
- Creates a JavaScript context group. A JSContextGroup associates JavaScript contexts with one another. Contexts in the same group may share and exchange JavaScript objects. Sharing and/or exchanging JavaScript objects between contexts in different groups will produce undefined behavior. When objects from the same context group are used in multiple threads, explicit synchronization is required.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
pointer
→ Pointer<
NativeType> -
C pointer
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
) → void - Releases a JavaScript context group.
-
retain(
) → JSContextGroup -
Retains a JavaScript context group.
@result
(JSContextGroupRef) A JSContextGroup that is the same as group. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited