Skip to main content
Module

x/capi/mod.ts>$.iterable

[WIP] A framework for crafting interactions with Substrate chains
Latest
function $.iterable
Re-export
import { $ } from "https://deno.land/x/capi@v0.1.1-beta.1/mod.ts";
const { iterable } = $;

Type Parameters

TI
I extends Iterable<TI>
optional
TO = TI
optional
O = I

Parameters

props: { $el: Codec<TI, TO>; calcLength: (iterable: I) => number; rehydrate: (iterable: Iterable<TO>) => O; assert: (this: Codec<I, O>, assert: AssertState) => void; }