# skipEffect

Skips the first `n` elements where `n` is produced by an Effect.

## Signatures

```ts
export declare const skipEffect: {
    <E2, R2>(count: Effect.Effect<number, E2, R2>): <A, E, R>(fx: Fx<A, E, R>) => Fx<A, E | E2, R | R2>;
    <A, E, R, E2, R2>(fx: Fx<A, E, R>, count: Effect.Effect<number, E2, R2>): Fx<A, E | E2, R | R2>;
};
```

## Why

`skipEffect` obtains the prefix length at consumption time before subscribing to the source.

## Ownership and lifetime

The count Effect runs once per run and can fail, require services, or be interrupted. The source
is acquired only after the count succeeds.

## Examples

```ts
import { Effect } from "effect"
import { Fx } from "@typed/fx"

const tail = Fx.fromIterable([1, 2]).pipe(Fx.skipEffect(Effect.succeed(1)))
```
