method rpcProvider.HttpProvider.prototype.onimport { rpcProvider } from "https://dotland.deno.dev/x/polkadot@0.2.45/mod.ts"; const { HttpProvider } = rpcProvider; on(_type: ProviderInterfaceEmitted, _sub: ProviderInterfaceEmitCb): () => voidParameters_type: ProviderInterfaceEmitted_sub: ProviderInterfaceEmitCbReturns() => void