fetchlet 0.1.0

Rust-hosted JavaScript functions and Fetch handlers with explicit host services
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Generated by `vp run build:scripts` from the TypeScript sources in js-src/.
// js-src/background.ts
(async () => {
	globalThis.__fetchletAsyncContext?.set(void 0);
	try {
		await globalThis.__fetchletBackground.settle();
	} finally {
		globalThis.__fetchletResponseBodies?.closeAll();
		globalThis.__fetchletChannels?.closeAll();
		globalThis.__fetchletClearTimers?.();
		globalThis.__fetchletClearPerformanceEntries?.();
	}
	return "null";
})();