Packages
A spellchecker for Elixir, made with Bun and cspell
Current section
Files
Jump to
Current section
Files
priv/bun/node_modules/@cspell/cspell-pipe/dist/operators/tap.d.ts
/**
* Tap allows you to listen on values, without modifying them.
*
* @param fn - function to call for each value.
*/
export declare function opTapAsync<T>(tapFn: (v: T) => void): (iter: AsyncIterable<T>) => AsyncIterable<T>;
/**
* Tap allows you to listen on values, without modifying them.
*
* @param fn - function to call for each value.
*/
export declare function opTapSync<T>(tapFn: (v: T) => void): (iter: Iterable<T>) => Iterable<T>;
/**
* Tap allows you to listen on values, without modifying them.
*
* @param fn - function to call for each value.
*/
export declare const opTap: <T>(fn: (v: T) => void) => import("../internalTypes.js").PipeFn<T, T>;
//# sourceMappingURL=tap.d.ts.map