Skip to main content
Module

x/polkadot/util/bundle.ts>lazyMethod

Package publishing for deno.land/x/polkadot
Go to Latest
function lazyMethod
import { lazyMethod } from "https://deno.land/x/polkadot@0.2.25/util/bundle.ts";

Parameters

result: Record<string, T> | AnyFn
item: K
creator: (
item: K,
index: number,
self: S,
) => T
optional
getName: (item: K, index: number) => string
optional
index = [UNSUPPORTED]