pub unsafe extern "C" fn JSContextGroupCreate() -> JSContextGroupRef
Expand description
Creates a JavaScript context group.
JSContextGroupRef
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.
Returns the created JSContextGroupRef
.