mrdocs::js::Context::operator=
Copy assignment.
Synopsis
Declared in <mrdocs/Support/JavaScript.hpp>
Description
Create a javascript execution context associated with the heap of another context.
Both contexts will share the same garbage‐collected heap, which is destroyed when the last context is destroyed.
While they share the heap, their scripts can include references to the same variables.
There are multi‐threading restrictions, however: only one native thread can execute any code within a single heap at any time.
Parameters
Name |
Description |
other |
The object to copy assign from |
Created with MrDocs