See document
The AsyncCall, AsyncGeneratorCall, JSONSerialization, NoSerialization is available in globalThis are available as the global variable
Call define(fns) to define a new demo JSON RPC server. Call await sleep(ms) to slow down the server.