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

x/polkadot/api-base/types/index.ts>PromiseResult

Package publishing for deno.land/x/polkadot
Go to Latest
interface PromiseResult
Re-export
import { type PromiseResult } from "https://deno.land/x/polkadot@0.2.12/api-base/types/index.ts";

Type Parameters

F extends AnyFunction

Call Signatures

(...args: Parameters<F>): Promise<ObsInnerType<ReturnType<F>>>
(...args: Push<Parameters<F>, Callback<ObsInnerType<ReturnType<F>>>>): UnsubscribePromise
<T extends Codec | Codec[]>(...args: Parameters<F>): Promise<T>
<T extends Codec | Codec[]>(...args: Push<Parameters<F>, Callback<T>>): UnsubscribePromise