Home
Guides
Knowledge Base
Packages

FAB Runtime Environment

When a FAB is being executed, it is running in a V8::Isolate container, with the following global variables:

{
fetch: fetch,
Request: fetch.Request,
Response: fetch.Response,
Headers: fetch.Headers,
URL: URL,
console: {
log: console.log,
error: console.error,
},
NODE_ENV: 'server',
process: {
env: {
NODE_ENV: 'server',
},
},
setTimeout,
setImmediate,
clearTimeout,
}