method HttpProvider.prototype.onimport { HttpProvider } from "https://deno.land/x/polkadot@0.2.23/rpc-provider/mod.ts"; on(type: ProviderInterfaceEmitted, sub: ProviderInterfaceEmitCb): () => voidParameterstype: ProviderInterfaceEmittedsub: ProviderInterfaceEmitCbReturns() => void