# dropAfter

Drops elements from an Fx after a predicate returns true.
The element that satisfies the predicate is included in the output.

## Signatures

```ts
export declare const dropAfter: {
    <A>(predicate: (a: A) => boolean): <E, R>(fx: Fx<A, E, R>) => Fx<A, E, R>;
    <A, E, R>(fx: Fx<A, E, R>, predicate: (a: A) => boolean): Fx<A, E, R>;
};
```

## Why

`dropAfter` includes the first matching value and then completes, giving an inclusive stopping
boundary while preserving the preceding source order.

## Ownership and lifetime

The match stops upstream through the early-exit sink. The operation acquires no external
resource and preserves source failures and services before completion.

## Examples

```ts
import { Fx } from "@typed/fx"
const throughTwo = Fx.fromIterable([1, 2, 3]).pipe(Fx.dropAfter((n) => n === 2))
```
