{
  "id": "@typed/fx#RefCause.setDie",
  "canonicalId": "@typed/fx/RefCause#setDie",
  "symbol": {
    "id": "@typed/fx#RefCause.setDie",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefCause.setDie",
    "kind": "constant",
    "signatures": [
      "export declare const setDie: {\n    (defect: unknown): <E, Err, R>(ref: RefCause<E, Err, R>) => Effect.Effect<Cause.Cause<E>, Err, R>;\n    <E, Err, R>(ref: RefCause<E, Err, R>, defect: unknown): Effect.Effect<Cause.Cause<E>, Err, R>;\n};"
    ],
    "summary": "Set the current state of a RefCause to a Die cause.",
    "sections": {
      "Why": "Keeps set die atomic with respect to competing RefSubject writes instead of splitting the read\nand replacement into separate effects.",
      "Ownership and lifetime": "Running set die performs one serialized cause transition and resolves with its committed value.\nIt acquires no resource; failures and services remain those of the source ref."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefCause.ts",
      "line": 113
    },
    "since": "1.18.0",
    "category": "State updates"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefCause.setDie",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefCause",
    "qualifiedName": "RefCause.setDie",
    "declarationKey": "declaration:bc7f39c58246ea87d55c997e",
    "family": "variable",
    "signatures": [
      "export declare const setDie: {\n    (defect: unknown): <E, Err, R>(ref: RefCause<E, Err, R>) => Effect.Effect<Cause.Cause<E>, Err, R>;\n    <E, Err, R>(ref: RefCause<E, Err, R>, defect: unknown): Effect.Effect<Cause.Cause<E>, Err, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefCause.ts",
        "start": {
          "line": 113,
          "column": 14
        },
        "end": {
          "line": 118,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefCause.ts",
        "start": {
          "line": 114,
          "column": 3
        },
        "end": {
          "line": 114,
          "column": 101
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefCause.ts",
        "start": {
          "line": 115,
          "column": 3
        },
        "end": {
          "line": 115,
          "column": 97
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefCause#setDie"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefCause",
    "static": false,
    "importedFrom": "declaration:bc7f39c58246ea87d55c997e"
  },
  "declaration": {
    "declarationKey": "declaration:bc7f39c58246ea87d55c997e",
    "name": "setDie",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const setDie: {\n    (defect: unknown): <E, Err, R>(ref: RefCause<E, Err, R>) => Effect.Effect<Cause.Cause<E>, Err, R>;\n    <E, Err, R>(ref: RefCause<E, Err, R>, defect: unknown): Effect.Effect<Cause.Cause<E>, Err, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefCause.ts",
            "start": {
              "line": 113,
              "column": 14
            },
            "end": {
              "line": 118,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "(defect: unknown): <E, Err, R>(ref: RefCause<E, Err, R>) => Effect.Effect<Cause.Cause<E>, Err, R>;",
          "<E, Err, R>(ref: RefCause<E, Err, R>, defect: unknown): Effect.Effect<Cause.Cause<E>, Err, R>;"
        ],
        "typeParameters": [
          "E",
          "Err",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefCause.ts",
            "start": {
              "line": 114,
              "column": 3
            },
            "end": {
              "line": 114,
              "column": 101
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefCause.ts",
            "start": {
              "line": 115,
              "column": 3
            },
            "end": {
              "line": 115,
              "column": 97
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const setDie: {\n    (defect: unknown): <E, Err, R>(ref: RefCause<E, Err, R>) => Effect.Effect<Cause.Cause<E>, Err, R>;\n    <E, Err, R>(ref: RefCause<E, Err, R>, defect: unknown): Effect.Effect<Cause.Cause<E>, Err, R>;\n};"
    ],
    "typeParameters": [
      "E",
      "Err",
      "R"
    ],
    "summary": "Set the current state of a RefCause to a Die cause.",
    "sections": {
      "Why": "Keeps set die atomic with respect to competing RefSubject writes instead of splitting the read\nand replacement into separate effects.",
      "Ownership and lifetime": "Running set die performs one serialized cause transition and resolves with its committed value.\nIt acquires no resource; failures and services remain those of the source ref."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefCause.ts",
        "start": {
          "line": 113,
          "column": 14
        },
        "end": {
          "line": 118,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefCause.ts",
        "start": {
          "line": 114,
          "column": 3
        },
        "end": {
          "line": 114,
          "column": 101
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefCause.ts",
        "start": {
          "line": 115,
          "column": 3
        },
        "end": {
          "line": 115,
          "column": 97
        }
      }
    ],
    "since": "1.18.0",
    "category": "State updates"
  }
}
