Source code
Revision control
Copy as Markdown
Other Tools
const { setTimeout } = ChromeUtils.importESModule(
"resource://gre/modules/Timer.sys.mjs"
);
function handleRequest(request, response) {
response.processAsync();
response.write("Hello");
setTimeout(function () {
response.finish();
}, 100000); // wait 100 seconds.
}