@luxcium/parallel-mapper
TypeScript icon, indicating that this package has built-in type declarations

0.0.0-dev-0.0.1 • Public • Published

This is the code from a blog post

IO_Map<T, U>(list: T[], mapFn: Mapper<T, U>, limit?: number): Promise<U[]>

CPU_Map(filename: string) => <T, R>(list: T[], mapFn:  Mapper<T, R>, limit?: number): {
    mapper: () => Promise<R[]>;
    thread: () => void;
}

Dependencies (0)

    Dev Dependencies (8)

    Package Sidebar

    Install

    npm i @luxcium/parallel-mapper

    Weekly Downloads

    4

    Version

    0.0.0-dev-0.0.1

    License

    MIT

    Unpacked Size

    136 kB

    Total Files

    39

    Last publish

    Collaborators

    • neb_401