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

x/polkadot/api/index.ts>HttpProvider#on

Package publishing for deno.land/x/polkadot
Go to Latest
method HttpProvider.prototype.on
import { HttpProvider } from "https://deno.land/x/polkadot@0.2.14/api/index.ts";

Parameters

type: ProviderInterfaceEmitted
sub: ProviderInterfaceEmitCb

Returns

() => void