Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Package publishing for deno.land/x/polkadot
Latest
function withSection
import { withSection } from "https://deno.land/x/polkadot@0.2.45/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