Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
call(environment) {
return Promise.resolve(
new Response(
this._buildReadableStream(),
{
headers: this._getHeaders(),
size: this.size,
status: this._getStatus(),
timeout: this.timeout
}
)
);
}