Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/willow/mod.deno.ts>PayloadDriverMemory#receive

Exploring Willow in the most efficient and sound programming language
Go to Latest
method PayloadDriverMemory.prototype.receive
Re-export
import { PayloadDriverMemory } from "https://deno.land/x/willow@0.2.1/mod.deno.ts";

Parameters

opts: { payload: AsyncIterable<Uint8Array> | Uint8Array; offset: number; knownLength: bigint; knownDigest: PayloadDigest; }

Returns

Promise<{ digest: PayloadDigest; length: bigint; }>