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/runtime.ts
globalThis.self = globalThis;
globalThis.global = globalThis;
globalThis.console ??= {
	log() {},
	info() {},
	warn() {},
	error() {},
	debug() {}
};
globalThis.queueMicrotask ??= (callback) => {
	Promise.resolve().then(callback);
};