import * as tsplus_module_1 from "@effect/core/collection/Chunk/operations/filterEffect";
import * as tsplus_module_2 from "@effect/core/stream/Sink/operations/contramapChunksEffect";
/**
 * Effectfully filter the input of this sink using the specified predicate.
 *
 * @tsplus fluent ets/Sink filterInputEffect
 */

export function filterInputEffect_(self, p, __tsplusTrace) {
  return tsplus_module_2.contramapChunksEffect_(self, chunk => tsplus_module_1.filterEffect_(chunk, p, __tsplusTrace), __tsplusTrace);
}
/**
 * Effectfully filter the input of this sink using the specified predicate.
 */

export const filterInputEffect = (p, __tsplusTrace) => self => filterInputEffect_(self, p, __tsplusTrace);
//# sourceMappingURL=filterInputEffect.mjs.map