{
  "id": "@typed/fx#RefSubject.GetSetDelete",
  "canonicalId": "@typed/fx/RefSubject#GetSetDelete",
  "symbol": {
    "id": "@typed/fx#RefSubject.GetSetDelete",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefSubject.GetSetDelete",
    "kind": "interface",
    "signatures": [
      "export interface GetSetDelete<A, E = never, R = never> {\n    readonly get: Effect.Effect<A, E, R>;\n    readonly set: (a: A) => Effect.Effect<A, E, R>;\n    readonly delete: Effect.Effect<Option.Option<A>, E, R>;\n}"
    ],
    "summary": "Interface for basic RefSubject operations: get, set, delete.",
    "sections": {
      "Why": "Interface for basic RefSubject operations: get, set, delete.",
      "Ownership and lifetime": "GetSetDelete is a contract and performs no acquisition. Implementations retain the errors,\nservices, interruption, and Scope requirements expressed by its members.",
      "Property: delete": "Removes and returns the value visible to the current transaction.",
      "Property: delete: Why": "Removes the value from the current transaction and returns the previous value as `Some`, or\n`None` when no value was present.",
      "Property: delete: Ownership and lifetime": "Running delete performs one serialized subject transition and returns the committed value.\nIt acquires no resource and preserves source failures and services.",
      "Property: get": "Reads the value visible to the current transaction.",
      "Property: get: Why": "Reads the value visible inside the current transaction without publishing a change.",
      "Property: get: Ownership and lifetime": "Running `get` performs no mutation or acquisition. It can fail with `E` and requires `R`; when\nused by `updates`, it observes that transaction's buffered value.",
      "Property: set": "Replaces the value inside the current transaction.",
      "Property: set: Why": "The transition is serialized at the RefSubject rather than coordinated by callers or UI\ncomponents.",
      "Property: set: Ownership and lifetime": "Running set performs one serialized subject transition and returns the committed value. It\nacquires no resource and preserves source failures and services."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefSubject.ts",
      "line": 432
    },
    "since": "1.0.0",
    "category": "Transactions"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefSubject.GetSetDelete",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefSubject",
    "qualifiedName": "RefSubject.GetSetDelete",
    "declarationKey": "declaration:52695f9fe06e74ee16d5a374",
    "family": "interface",
    "signatures": [
      "export interface GetSetDelete<A, E = never, R = never> {\n    readonly get: Effect.Effect<A, E, R>;\n    readonly set: (a: A) => Effect.Effect<A, E, R>;\n    readonly delete: Effect.Effect<Option.Option<A>, E, R>;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefSubject.ts",
        "start": {
          "line": 432,
          "column": 1
        },
        "end": {
          "line": 486,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefSubject.ts",
        "start": {
          "line": 485,
          "column": 3
        },
        "end": {
          "line": 485,
          "column": 58
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefSubject.ts",
        "start": {
          "line": 449,
          "column": 3
        },
        "end": {
          "line": 449,
          "column": 40
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefSubject.ts",
        "start": {
          "line": 467,
          "column": 3
        },
        "end": {
          "line": 467,
          "column": 50
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefSubject#GetSetDelete"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefSubject",
    "static": false,
    "importedFrom": "declaration:52695f9fe06e74ee16d5a374"
  },
  "declaration": {
    "declarationKey": "declaration:52695f9fe06e74ee16d5a374",
    "name": "GetSetDelete",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface GetSetDelete<A, E = never, R = never> {\n    readonly get: Effect.Effect<A, E, R>;\n    readonly set: (a: A) => Effect.Effect<A, E, R>;\n    readonly delete: Effect.Effect<Option.Option<A>, E, R>;\n}"
        ],
        "typeParameters": [
          "A",
          "E = never",
          "R = never"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefSubject.ts",
            "start": {
              "line": 432,
              "column": 1
            },
            "end": {
              "line": 486,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly delete: Effect.Effect<Option.Option<A>, E, R>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefSubject.ts",
            "start": {
              "line": 485,
              "column": 3
            },
            "end": {
              "line": 485,
              "column": 58
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly get: Effect.Effect<A, E, R>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefSubject.ts",
            "start": {
              "line": 449,
              "column": 3
            },
            "end": {
              "line": 449,
              "column": 40
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly set: (a: A) => Effect.Effect<A, E, R>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefSubject.ts",
            "start": {
              "line": 467,
              "column": 3
            },
            "end": {
              "line": 467,
              "column": 50
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export interface GetSetDelete<A, E = never, R = never> {\n    readonly get: Effect.Effect<A, E, R>;\n    readonly set: (a: A) => Effect.Effect<A, E, R>;\n    readonly delete: Effect.Effect<Option.Option<A>, E, R>;\n}"
    ],
    "typeParameters": [
      "A",
      "E = never",
      "R = never"
    ],
    "summary": "Interface for basic RefSubject operations: get, set, delete.",
    "sections": {
      "Why": "Interface for basic RefSubject operations: get, set, delete.",
      "Ownership and lifetime": "GetSetDelete is a contract and performs no acquisition. Implementations retain the errors,\nservices, interruption, and Scope requirements expressed by its members.",
      "Property: delete": "Removes and returns the value visible to the current transaction.",
      "Property: delete: Why": "Removes the value from the current transaction and returns the previous value as `Some`, or\n`None` when no value was present.",
      "Property: delete: Ownership and lifetime": "Running delete performs one serialized subject transition and returns the committed value.\nIt acquires no resource and preserves source failures and services.",
      "Property: get": "Reads the value visible to the current transaction.",
      "Property: get: Why": "Reads the value visible inside the current transaction without publishing a change.",
      "Property: get: Ownership and lifetime": "Running `get` performs no mutation or acquisition. It can fail with `E` and requires `R`; when\nused by `updates`, it observes that transaction's buffered value.",
      "Property: set": "Replaces the value inside the current transaction.",
      "Property: set: Why": "The transition is serialized at the RefSubject rather than coordinated by callers or UI\ncomponents.",
      "Property: set: Ownership and lifetime": "Running set performs one serialized subject transition and returns the committed value. It\nacquires no resource and preserves source failures and services."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefSubject.ts",
        "start": {
          "line": 432,
          "column": 1
        },
        "end": {
          "line": 486,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefSubject.ts",
        "start": {
          "line": 485,
          "column": 3
        },
        "end": {
          "line": 485,
          "column": 58
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefSubject.ts",
        "start": {
          "line": 449,
          "column": 3
        },
        "end": {
          "line": 449,
          "column": 40
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefSubject.ts",
        "start": {
          "line": 467,
          "column": 3
        },
        "end": {
          "line": 467,
          "column": 50
        }
      }
    ],
    "since": "1.0.0",
    "category": "Transactions"
  }
}
