/**
* Environment to start executing the script in.
* During sandbox execution, we need to call sandbox interceptor while executing asynchronous code.
*/
private Env createInitialEnv() {
return Envs.empty( isSandbox() ? new SandboxInvoker() : new DefaultInvoker());
}
});
programPromise = f;