{
  "id": "@typed/fx#Fx.interrupt",
  "canonicalId": "@typed/fx/Fx#interrupt",
  "symbol": {
    "id": "@typed/fx#Fx.interrupt",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "Fx.interrupt",
    "kind": "constant",
    "signatures": [
      "export declare const interrupt: (fiberId?: number | undefined) => import(\"../Fx.js\").Fx<never, never, never>;"
    ],
    "summary": "Creates an Fx that immediately interrupts.",
    "sections": {
      "Why": "A known Effect interruption cause can be represented as an `Fx` branch without\ndisguising it as a typed failure or defect.",
      "Ownership and lifetime": "Construction is inert. Each run forwards one interruption cause carrying `id` to\nthe sink, emits no values, and acquires no resources."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect } from \"effect\"\nimport { interrupt, observe } from \"@typed/fx/Fx\"\n\nconst source = interrupt(1)\nconst program = observe(source, () => Effect.void)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/fx/src/Fx/constructors/interrupt.ts",
      "line": 33
    },
    "since": "1.0.0",
    "category": "Failure sources"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#Fx.interrupt",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "Fx",
    "qualifiedName": "Fx.interrupt",
    "declarationKey": "declaration:c8ed13c5f34bc6c2899e1c17",
    "family": "variable",
    "signatures": [
      "export declare const interrupt: (fiberId?: number | undefined) => import(\"../Fx.js\").Fx<never, never, never>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/constructors/interrupt.ts",
        "start": {
          "line": 33,
          "column": 14
        },
        "end": {
          "line": 33,
          "column": 72
        }
      }
    ],
    "aliases": [
      "@typed/fx/Fx#interrupt"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#Fx",
    "static": false,
    "importedFrom": "declaration:c8ed13c5f34bc6c2899e1c17"
  },
  "declaration": {
    "declarationKey": "declaration:c8ed13c5f34bc6c2899e1c17",
    "name": "interrupt",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const interrupt: (fiberId?: number | undefined) => import(\"../Fx.js\").Fx<never, never, never>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Fx/constructors/interrupt.ts",
            "start": {
              "line": 33,
              "column": 14
            },
            "end": {
              "line": 33,
              "column": 72
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const interrupt: (fiberId?: number | undefined) => import(\"../Fx.js\").Fx<never, never, never>;"
    ],
    "typeParameters": [],
    "summary": "Creates an Fx that immediately interrupts.",
    "sections": {
      "Why": "A known Effect interruption cause can be represented as an `Fx` branch without\ndisguising it as a typed failure or defect.",
      "Ownership and lifetime": "Construction is inert. Each run forwards one interruption cause carrying `id` to\nthe sink, emits no values, and acquires no resources."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect } from \"effect\"\nimport { interrupt, observe } from \"@typed/fx/Fx\"\n\nconst source = interrupt(1)\nconst program = observe(source, () => Effect.void)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/constructors/interrupt.ts",
        "start": {
          "line": 33,
          "column": 14
        },
        "end": {
          "line": 33,
          "column": 72
        }
      }
    ],
    "since": "1.0.0",
    "category": "Failure sources"
  }
}
