method rpcProvider.ScProvider.prototype.onimport { rpcProvider } from "https://dotland.deno.dev/x/polkadot@0.2.23/mod.ts"; const { ScProvider } = rpcProvider; on(type: ProviderInterfaceEmitted, sub: ProviderInterfaceEmitCb): () => voidParameterstype: ProviderInterfaceEmittedsub: ProviderInterfaceEmitCbReturns() => void