{
  "id": "@typed/fx#Fx.catchAll",
  "canonicalId": "@typed/fx/Fx#catchAll",
  "symbol": {
    "id": "@typed/fx#Fx.catchAll",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "Fx.catchAll",
    "kind": "constant",
    "signatures": [
      "export declare const catchAll: {\n    <E, A2, E2, R2>(f: (e: E) => Fx<A2, E2, R2>): <A, R>(self: Fx<A, E, R>) => Fx<A | A2, E2, R | R2>;\n    <A, E, R, A2, E2, R2>(self: Fx<A, E, R>, f: (e: E) => Fx<A2, E2, R2>): Fx<A | A2, E2, R | R2>;\n};"
    ],
    "summary": "Uses the Effect-style `catchAll` name for {@link catch}.",
    "sections": {
      "Why": "The alias lets Effect users apply the same typed-failure recovery vocabulary\nto Fx without introducing different runtime behavior.",
      "Ownership and lifetime": "It has exactly the source/fallback switching, failure, service, and\ninterruption semantics of {@link catch }; it allocates no wrapper resource\nbeyond that combinator."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { catchAll } from \"@typed/fx/Fx\"\nimport { fail, succeed } from \"@typed/fx/Fx\"\n\nconst recovered = catchAll(fail(\"missing\"), () => succeed(\"default\"))"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/fx/src/Fx/combinators/catch.ts",
      "line": 113
    },
    "since": "1.0.0",
    "category": "Errors and recovery"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#Fx.catchAll",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "Fx",
    "qualifiedName": "Fx.catchAll",
    "declarationKey": "declaration:bcff2cd691f676b982d79dfd",
    "family": "variable",
    "signatures": [
      "export declare const catchAll: {\n    <E, A2, E2, R2>(f: (e: E) => Fx<A2, E2, R2>): <A, R>(self: Fx<A, E, R>) => Fx<A | A2, E2, R | R2>;\n    <A, E, R, A2, E2, R2>(self: Fx<A, E, R>, f: (e: E) => Fx<A2, E2, R2>): Fx<A | A2, E2, R | R2>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/combinators/catch.ts",
        "start": {
          "line": 113,
          "column": 14
        },
        "end": {
          "line": 113,
          "column": 31
        }
      },
      {
        "file": "packages/fx/dist/Fx/combinators/catch.d.ts",
        "start": {
          "line": 77,
          "column": 5
        },
        "end": {
          "line": 77,
          "column": 103
        }
      },
      {
        "file": "packages/fx/dist/Fx/combinators/catch.d.ts",
        "start": {
          "line": 78,
          "column": 5
        },
        "end": {
          "line": 78,
          "column": 99
        }
      }
    ],
    "aliases": [
      "@typed/fx/Fx#catchAll"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#Fx",
    "static": false,
    "importedFrom": "declaration:bcff2cd691f676b982d79dfd"
  },
  "declaration": {
    "declarationKey": "declaration:bcff2cd691f676b982d79dfd",
    "name": "catchAll",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const catchAll: {\n    <E, A2, E2, R2>(f: (e: E) => Fx<A2, E2, R2>): <A, R>(self: Fx<A, E, R>) => Fx<A | A2, E2, R | R2>;\n    <A, E, R, A2, E2, R2>(self: Fx<A, E, R>, f: (e: E) => Fx<A2, E2, R2>): Fx<A | A2, E2, R | R2>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Fx/combinators/catch.ts",
            "start": {
              "line": 113,
              "column": 14
            },
            "end": {
              "line": 113,
              "column": 31
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<E, A2, E2, R2>(f: (e: E) => Fx<A2, E2, R2>): <A, R>(self: Fx<A, E, R>) => Fx<A | A2, E2, R | R2>;",
          "<A, E, R, A2, E2, R2>(self: Fx<A, E, R>, f: (e: E) => Fx<A2, E2, R2>): Fx<A | A2, E2, R | R2>;"
        ],
        "typeParameters": [
          "E",
          "A2",
          "E2",
          "R2",
          "A",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/dist/Fx/combinators/catch.d.ts",
            "start": {
              "line": 77,
              "column": 5
            },
            "end": {
              "line": 77,
              "column": 103
            }
          },
          {
            "file": "packages/fx/dist/Fx/combinators/catch.d.ts",
            "start": {
              "line": 78,
              "column": 5
            },
            "end": {
              "line": 78,
              "column": 99
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const catchAll: {\n    <E, A2, E2, R2>(f: (e: E) => Fx<A2, E2, R2>): <A, R>(self: Fx<A, E, R>) => Fx<A | A2, E2, R | R2>;\n    <A, E, R, A2, E2, R2>(self: Fx<A, E, R>, f: (e: E) => Fx<A2, E2, R2>): Fx<A | A2, E2, R | R2>;\n};"
    ],
    "typeParameters": [
      "E",
      "A2",
      "E2",
      "R2",
      "A",
      "R"
    ],
    "summary": "Uses the Effect-style `catchAll` name for {@link catch}.",
    "sections": {
      "Why": "The alias lets Effect users apply the same typed-failure recovery vocabulary\nto Fx without introducing different runtime behavior.",
      "Ownership and lifetime": "It has exactly the source/fallback switching, failure, service, and\ninterruption semantics of {@link catch }; it allocates no wrapper resource\nbeyond that combinator."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { catchAll } from \"@typed/fx/Fx\"\nimport { fail, succeed } from \"@typed/fx/Fx\"\n\nconst recovered = catchAll(fail(\"missing\"), () => succeed(\"default\"))"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/combinators/catch.ts",
        "start": {
          "line": 113,
          "column": 14
        },
        "end": {
          "line": 113,
          "column": 31
        }
      },
      {
        "file": "packages/fx/dist/Fx/combinators/catch.d.ts",
        "start": {
          "line": 77,
          "column": 5
        },
        "end": {
          "line": 77,
          "column": 103
        }
      },
      {
        "file": "packages/fx/dist/Fx/combinators/catch.d.ts",
        "start": {
          "line": 78,
          "column": 5
        },
        "end": {
          "line": 78,
          "column": 99
        }
      }
    ],
    "since": "1.0.0",
    "category": "Errors and recovery"
  }
}
