{
  "id": "@typed/fx/Fx#dropAfter",
  "canonicalId": "@typed/fx/Fx#dropAfter",
  "symbol": {
    "id": "@typed/fx/Fx#dropAfter",
    "packageName": "@typed/fx",
    "moduleName": "Fx",
    "exportName": "dropAfter",
    "kind": "constant",
    "signatures": [
      "export declare const dropAfter: {\n    <A>(predicate: (a: A) => boolean): <E, R>(fx: Fx<A, E, R>) => Fx<A, E, R>;\n    <A, E, R>(fx: Fx<A, E, R>, predicate: (a: A) => boolean): Fx<A, E, R>;\n};"
    ],
    "summary": "Drops elements from an Fx after a predicate returns true.\nThe element that satisfies the predicate is included in the output.",
    "sections": {
      "Why": "`dropAfter` includes the first matching value and then completes, giving an inclusive stopping\nboundary while preserving the preceding source order.",
      "Ownership and lifetime": "The match stops upstream through the early-exit sink. The operation acquires no external\nresource and preserves source failures and services before completion."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Fx } from \"@typed/fx\"\nconst throughTwo = Fx.fromIterable([1, 2, 3]).pipe(Fx.dropAfter((n) => n === 2))"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/fx/src/Fx/combinators/takeUntil.ts",
      "line": 127
    },
    "since": "1.0.0",
    "category": "Selecting values"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/Fx#dropAfter",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": "Fx",
    "consumerSpecifier": "@typed/fx/Fx",
    "exportName": "dropAfter",
    "qualifiedName": "dropAfter",
    "declarationKey": "declaration:f11bdbf31951aa971719e4ad",
    "family": "variable",
    "signatures": [
      "export declare const dropAfter: {\n    <A>(predicate: (a: A) => boolean): <E, R>(fx: Fx<A, E, R>) => Fx<A, E, R>;\n    <A, E, R>(fx: Fx<A, E, R>, predicate: (a: A) => boolean): Fx<A, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/combinators/takeUntil.ts",
        "start": {
          "line": 127,
          "column": 14
        },
        "end": {
          "line": 132,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/Fx/combinators/takeUntil.ts",
        "start": {
          "line": 128,
          "column": 3
        },
        "end": {
          "line": 128,
          "column": 77
        }
      },
      {
        "file": "packages/fx/src/Fx/combinators/takeUntil.ts",
        "start": {
          "line": 129,
          "column": 3
        },
        "end": {
          "line": 129,
          "column": 73
        }
      }
    ],
    "aliases": [
      "@typed/fx#Fx.dropAfter"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:f11bdbf31951aa971719e4ad",
    "name": "dropAfter",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const dropAfter: {\n    <A>(predicate: (a: A) => boolean): <E, R>(fx: Fx<A, E, R>) => Fx<A, E, R>;\n    <A, E, R>(fx: Fx<A, E, R>, predicate: (a: A) => boolean): Fx<A, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Fx/combinators/takeUntil.ts",
            "start": {
              "line": 127,
              "column": 14
            },
            "end": {
              "line": 132,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<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>;"
        ],
        "typeParameters": [
          "A",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Fx/combinators/takeUntil.ts",
            "start": {
              "line": 128,
              "column": 3
            },
            "end": {
              "line": 128,
              "column": 77
            }
          },
          {
            "file": "packages/fx/src/Fx/combinators/takeUntil.ts",
            "start": {
              "line": 129,
              "column": 3
            },
            "end": {
              "line": 129,
              "column": 73
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const dropAfter: {\n    <A>(predicate: (a: A) => boolean): <E, R>(fx: Fx<A, E, R>) => Fx<A, E, R>;\n    <A, E, R>(fx: Fx<A, E, R>, predicate: (a: A) => boolean): Fx<A, E, R>;\n};"
    ],
    "typeParameters": [
      "A",
      "E",
      "R"
    ],
    "summary": "Drops elements from an Fx after a predicate returns true.\nThe element that satisfies the predicate is included in the output.",
    "sections": {
      "Why": "`dropAfter` includes the first matching value and then completes, giving an inclusive stopping\nboundary while preserving the preceding source order.",
      "Ownership and lifetime": "The match stops upstream through the early-exit sink. The operation acquires no external\nresource and preserves source failures and services before completion."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Fx } from \"@typed/fx\"\nconst throughTwo = Fx.fromIterable([1, 2, 3]).pipe(Fx.dropAfter((n) => n === 2))"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/combinators/takeUntil.ts",
        "start": {
          "line": 127,
          "column": 14
        },
        "end": {
          "line": 132,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/Fx/combinators/takeUntil.ts",
        "start": {
          "line": 128,
          "column": 3
        },
        "end": {
          "line": 128,
          "column": 77
        }
      },
      {
        "file": "packages/fx/src/Fx/combinators/takeUntil.ts",
        "start": {
          "line": 129,
          "column": 3
        },
        "end": {
          "line": 129,
          "column": 73
        }
      }
    ],
    "since": "1.0.0",
    "category": "Selecting values"
  }
}
