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

x/ayonli_jsext/reader/util.ts>asAsyncIterable

A JavaScript extension package for building strong and modern applications.
Latest
function asAsyncIterable
import { asAsyncIterable } from "https://deno.land/x/ayonli_jsext@v0.9.72/reader/util.ts";

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

Parameters

source: any

Returns

AsyncIterable<any> | null