{
  "id": "@typed/fx/RefHashSet#add",
  "canonicalId": "@typed/fx/RefHashSet#add",
  "symbol": {
    "id": "@typed/fx/RefHashSet#add",
    "packageName": "@typed/fx",
    "moduleName": "RefHashSet",
    "exportName": "add",
    "kind": "constant",
    "signatures": [
      "export declare const add: {\n    <V>(value: V): <E, R>(ref: RefHashSet<V, E, R>) => Effect.Effect<HashSet.HashSet<V>, E, R>;\n    <V, E, R>(ref: RefHashSet<V, E, R>, value: V): Effect.Effect<HashSet.HashSet<V>, E, R>;\n};"
    ],
    "summary": "Add a value to the RefHashSet.",
    "sections": {
      "Why": "Add a value to the RefHashSet. The operation remains attached to the RefSubject's versioned\nstate boundary.",
      "Ownership and lifetime": "Running add performs one serialized hash set 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/RefHashSet.ts",
      "line": 81
    },
    "since": "1.18.0",
    "category": "State updates"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/RefHashSet#add",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": "RefHashSet",
    "consumerSpecifier": "@typed/fx/RefHashSet",
    "exportName": "add",
    "qualifiedName": "add",
    "declarationKey": "declaration:9571b2747eef94807d2eb748",
    "family": "variable",
    "signatures": [
      "export declare const add: {\n    <V>(value: V): <E, R>(ref: RefHashSet<V, E, R>) => Effect.Effect<HashSet.HashSet<V>, E, R>;\n    <V, E, R>(ref: RefHashSet<V, E, R>, value: V): Effect.Effect<HashSet.HashSet<V>, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 81,
          "column": 14
        },
        "end": {
          "line": 86,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 82,
          "column": 3
        },
        "end": {
          "line": 82,
          "column": 94
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 83,
          "column": 3
        },
        "end": {
          "line": 83,
          "column": 90
        }
      }
    ],
    "aliases": [
      "@typed/fx#RefHashSet.add"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:9571b2747eef94807d2eb748",
    "name": "add",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const add: {\n    <V>(value: V): <E, R>(ref: RefHashSet<V, E, R>) => Effect.Effect<HashSet.HashSet<V>, E, R>;\n    <V, E, R>(ref: RefHashSet<V, E, R>, value: V): Effect.Effect<HashSet.HashSet<V>, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashSet.ts",
            "start": {
              "line": 81,
              "column": 14
            },
            "end": {
              "line": 86,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<V>(value: V): <E, R>(ref: RefHashSet<V, E, R>) => Effect.Effect<HashSet.HashSet<V>, E, R>;",
          "<V, E, R>(ref: RefHashSet<V, E, R>, value: V): Effect.Effect<HashSet.HashSet<V>, E, R>;"
        ],
        "typeParameters": [
          "V",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashSet.ts",
            "start": {
              "line": 82,
              "column": 3
            },
            "end": {
              "line": 82,
              "column": 94
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefHashSet.ts",
            "start": {
              "line": 83,
              "column": 3
            },
            "end": {
              "line": 83,
              "column": 90
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const add: {\n    <V>(value: V): <E, R>(ref: RefHashSet<V, E, R>) => Effect.Effect<HashSet.HashSet<V>, E, R>;\n    <V, E, R>(ref: RefHashSet<V, E, R>, value: V): Effect.Effect<HashSet.HashSet<V>, E, R>;\n};"
    ],
    "typeParameters": [
      "V",
      "E",
      "R"
    ],
    "summary": "Add a value to the RefHashSet.",
    "sections": {
      "Why": "Add a value to the RefHashSet. The operation remains attached to the RefSubject's versioned\nstate boundary.",
      "Ownership and lifetime": "Running add performs one serialized hash set 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/RefHashSet.ts",
        "start": {
          "line": 81,
          "column": 14
        },
        "end": {
          "line": 86,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 82,
          "column": 3
        },
        "end": {
          "line": 82,
          "column": 94
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 83,
          "column": 3
        },
        "end": {
          "line": 83,
          "column": 90
        }
      }
    ],
    "since": "1.18.0",
    "category": "State updates"
  }
}
