Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/kwik/deps.ts>msgpack.decodeStream

Kwik is a deno database using messagepack files.
Go to Latest
function msgpack.decodeStream
Re-export
Deprecated
Deprecated

Use decodeMultiStream() instead.

import { msgpack } from "https://deno.land/x/kwik@v1.2.3/deps.ts";
const { decodeStream } = msgpack;

Type Parameters

ContextType

Parameters

streamLike: ReadableStreamLike<ArrayLike<number> | BufferSource>
optional
options: DecodeOptions<SplitUndefined<ContextType>>

Returns

AsyncGenerator<unknown, void, unknown>