Currently the context manager is a bit inflexible, creating a JSContext and unconditionally adding support for logging, timers, require, etc.
To make things more reusable in broader contexts, the client app code should be able to control the creation of the JSContext and to opt into the things added into it.
Currently the context manager is a bit inflexible, creating a JSContext and unconditionally adding support for logging, timers,
require
, etc.To make things more reusable in broader contexts, the client app code should be able to control the creation of the JSContext and to opt into the things added into it.