Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/rpc-provider/mod.ts>ScProvider#on

Package publishing for deno.land/x/polkadot
Go to Latest
method ScProvider.prototype.on
import { ScProvider } from "https://deno.land/x/polkadot@0.2.23/rpc-provider/mod.ts";

Parameters

type: ProviderInterfaceEmitted
sub: ProviderInterfaceEmitCb

Returns

() => void