Skip to content
This repository was archived by the owner on Oct 20, 2019. It is now read-only.
This repository was archived by the owner on Oct 20, 2019. It is now read-only.

Using toStream() appears not to be working. #1

Description

@am01264

When piping to process.stdout no response appears.

Example:

import it from './index';

const numberFun = it([5,4,3,2,1])
    .filter((value) => (value % 2 !== 0))
    .take(2)
    .map(num => `${num}`);

numberFun
    .toStream()
    .pipe(process.stdout)`

Expected output:

$ ts-node number-fun.ts
5
3

Instead I get

$ ts-node number-fun.ts

...and no more

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions