Skip to main content
Module

x/polkadot/api-derive/collective/helpers.ts>withSection

Package publishing for deno.land/x/polkadot
Go to Latest
function withSection
import { withSection } from "https://deno.land/x/polkadot@0.2.40/api-derive/collective/helpers.ts";

Type Parameters

T
F extends (...args: any[]) => Observable<T>

Parameters

section: Collective
fn: (
query: DeriveApi["query"]["council"],
api: DeriveApi,
instanceId: string,
) => F

Returns

(instanceId: string, api: DeriveApi) => F