{
  "id": "@typed/fx#RefOption.setNone",
  "canonicalId": "@typed/fx/RefOption#setNone",
  "symbol": {
    "id": "@typed/fx#RefOption.setNone",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefOption.setNone",
    "kind": "constant",
    "signatures": [
      "export declare const setNone: <A, E, R>(ref: RefOption<A, E, R>) => Effect.Effect<Option.Option<A>, E, R>;"
    ],
    "summary": "Set the current state of a RefOption to None.",
    "sections": {
      "Why": "Keeps set none atomic with respect to competing RefSubject writes instead of splitting the read\nand replacement into separate effects.",
      "Ownership and lifetime": "Running set none performs one serialized option transition and resolves with its committed\nvalue. It acquires no resource; failures and services remain those of the source ref."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefOption.ts",
      "line": 112
    },
    "since": "1.18.0",
    "category": "State updates"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefOption.setNone",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefOption",
    "qualifiedName": "RefOption.setNone",
    "declarationKey": "declaration:d547d2d9bfb1c49f3b858b3b",
    "family": "variable",
    "signatures": [
      "export declare const setNone: <A, E, R>(ref: RefOption<A, E, R>) => Effect.Effect<Option.Option<A>, E, R>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefOption.ts",
        "start": {
          "line": 112,
          "column": 14
        },
        "end": {
          "line": 113,
          "column": 37
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefOption#setNone"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefOption",
    "static": false,
    "importedFrom": "declaration:d547d2d9bfb1c49f3b858b3b"
  },
  "declaration": {
    "declarationKey": "declaration:d547d2d9bfb1c49f3b858b3b",
    "name": "setNone",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const setNone: <A, E, R>(ref: RefOption<A, E, R>) => Effect.Effect<Option.Option<A>, E, R>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefOption.ts",
            "start": {
              "line": 112,
              "column": 14
            },
            "end": {
              "line": 113,
              "column": 37
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const setNone: <A, E, R>(ref: RefOption<A, E, R>) => Effect.Effect<Option.Option<A>, E, R>;"
    ],
    "typeParameters": [],
    "summary": "Set the current state of a RefOption to None.",
    "sections": {
      "Why": "Keeps set none atomic with respect to competing RefSubject writes instead of splitting the read\nand replacement into separate effects.",
      "Ownership and lifetime": "Running set none performs one serialized option transition and resolves with its committed\nvalue. It acquires no resource; failures and services remain those of the source ref."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefOption.ts",
        "start": {
          "line": 112,
          "column": 14
        },
        "end": {
          "line": 113,
          "column": 37
        }
      }
    ],
    "since": "1.18.0",
    "category": "State updates"
  }
}
