{
  "id": "@typed/fx/Fx#dropUntil",
  "canonicalId": "@typed/fx/Fx#dropUntil",
  "symbol": {
    "id": "@typed/fx/Fx#dropUntil",
    "packageName": "@typed/fx",
    "moduleName": "Fx",
    "exportName": "dropUntil",
    "kind": "constant",
    "signatures": [
      "export declare const dropUntil: {\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 until a predicate returns true.\nEmits from the first element for which the predicate returns true (including that element) and all following elements.",
    "sections": {
      "Why": "`dropUntil` opens a one-way gate at the first matching value. The match and every later value emit\nonce in source order; after opening, the predicate is no longer consulted.",
      "Ownership and lifetime": "The gate is local to one run and discarded on completion or interruption. No resources are\nacquired and the source's errors and services pass through unchanged."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Fx } from \"@typed/fx\"\n\nconst ready = Fx.fromIterable([1, 2, 3]).pipe(Fx.dropUntil((n) => n >= 2))"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/fx/src/Fx/combinators/dropUntil.ts",
      "line": 31
    },
    "since": "1.0.0",
    "category": "Selecting values"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/Fx#dropUntil",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": "Fx",
    "consumerSpecifier": "@typed/fx/Fx",
    "exportName": "dropUntil",
    "qualifiedName": "dropUntil",
    "declarationKey": "declaration:99bc9c11280021b84d1afd24",
    "family": "variable",
    "signatures": [
      "export declare const dropUntil: {\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/dropUntil.ts",
        "start": {
          "line": 31,
          "column": 14
        },
        "end": {
          "line": 36,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/Fx/combinators/dropUntil.ts",
        "start": {
          "line": 32,
          "column": 3
        },
        "end": {
          "line": 32,
          "column": 77
        }
      },
      {
        "file": "packages/fx/src/Fx/combinators/dropUntil.ts",
        "start": {
          "line": 33,
          "column": 3
        },
        "end": {
          "line": 33,
          "column": 73
        }
      }
    ],
    "aliases": [
      "@typed/fx#Fx.dropUntil"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:99bc9c11280021b84d1afd24",
    "name": "dropUntil",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const dropUntil: {\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/dropUntil.ts",
            "start": {
              "line": 31,
              "column": 14
            },
            "end": {
              "line": 36,
              "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/dropUntil.ts",
            "start": {
              "line": 32,
              "column": 3
            },
            "end": {
              "line": 32,
              "column": 77
            }
          },
          {
            "file": "packages/fx/src/Fx/combinators/dropUntil.ts",
            "start": {
              "line": 33,
              "column": 3
            },
            "end": {
              "line": 33,
              "column": 73
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const dropUntil: {\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 until a predicate returns true.\nEmits from the first element for which the predicate returns true (including that element) and all following elements.",
    "sections": {
      "Why": "`dropUntil` opens a one-way gate at the first matching value. The match and every later value emit\nonce in source order; after opening, the predicate is no longer consulted.",
      "Ownership and lifetime": "The gate is local to one run and discarded on completion or interruption. No resources are\nacquired and the source's errors and services pass through unchanged."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Fx } from \"@typed/fx\"\n\nconst ready = Fx.fromIterable([1, 2, 3]).pipe(Fx.dropUntil((n) => n >= 2))"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/combinators/dropUntil.ts",
        "start": {
          "line": 31,
          "column": 14
        },
        "end": {
          "line": 36,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/Fx/combinators/dropUntil.ts",
        "start": {
          "line": 32,
          "column": 3
        },
        "end": {
          "line": 32,
          "column": 77
        }
      },
      {
        "file": "packages/fx/src/Fx/combinators/dropUntil.ts",
        "start": {
          "line": 33,
          "column": 3
        },
        "end": {
          "line": 33,
          "column": 73
        }
      }
    ],
    "since": "1.0.0",
    "category": "Selecting values"
  }
}
