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