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

x/rimbu/core/mod.ts>AsyncTransformer.from

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
function AsyncTransformer.from
import { AsyncTransformer } from "https://deno.land/x/rimbu@1.2.0/core/mod.ts";
const { from } = AsyncTransformer;

Returns an AsyncTransformer based on a given synchronous or asynchronous transformer.

Parameters

transformer: AsyncTransformer.Accept<T, R>
  • the transformer to convert