[][src]Function ul_sys::JSContextGroupCreate

pub unsafe extern "C" fn JSContextGroupCreate() -> JSContextGroupRef

@function @abstract Creates a JavaScript context group. @discussion 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. @result The created JSContextGroup.