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

x/ayonli_jsext/esm/reader/util.js

A JavaScript extension package for building strong and modern applications.
Latest
import * as ayonliJsext from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/reader/util.js";

Functions

Converts the given source into an AsyncIterable object if it's not one already, returns null if failed.

If the given promise resolves to a ReadableStream<Uint8Array>, this function will return a new ReadableStream<Uint8Array> object that can be used to read the byte stream without the need to wait for the promise to resolve.