1 | import { AsyncPredicate, Predicate } from '@naturalcycles/js-lib';
|
2 | import { TransformOptions, TransformTyped } from '../stream.model';
|
3 | /**
|
4 | * Note, that currently it's NOT concurrent! (concurrency = 1)
|
5 | * So, it's recommended to use transformMap instead, that is both concurrent and has
|
6 | * filtering feature by default.
|
7 | */
|
8 | export declare function transformFilter<IN = any>(predicate: AsyncPredicate<IN>, opt?: TransformOptions): TransformTyped<IN, IN>;
|
9 | /**
|
10 | * Sync version of `transformFilter`
|
11 | */
|
12 | export declare function transformFilterSync<IN = any>(predicate: Predicate<IN>, opt?: TransformOptions): TransformTyped<IN, IN>;
|