wrap
import { wrap } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/async_iterable.ts";Wrap a single value in an AsyncIterable.
@example
import { wrap } from "./async_iterable.ts";
const singleValue = wrap("Hello");
for await (const value of singleValue) {
console.log(value); // "Hello"
}
function wrap<A>(a: A): AsyncIterable<A>;