Skip to main content
Module

x/capi/deps/scale.ts>iterable

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

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; }