{
  "id": "@typed/fx/RefHashMap#union",
  "canonicalId": "@typed/fx/RefHashMap#union",
  "symbol": {
    "id": "@typed/fx/RefHashMap#union",
    "packageName": "@typed/fx",
    "moduleName": "RefHashMap",
    "exportName": "union",
    "kind": "constant",
    "signatures": [
      "export declare const union: {\n    <K, V>(that: HashMap.HashMap<K, V>): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n    <K, V, E, R>(ref: RefHashMap<K, V, E, R>, that: HashMap.HashMap<K, V>): Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n};"
    ],
    "summary": "Merge another HashMap into this one.",
    "sections": {
      "Why": "Combines bulk hash map changes in one committed value, giving subscribers one coherent update\nrather than a partially applied sequence.",
      "Ownership and lifetime": "Running union performs one serialized hash map 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/RefHashMap.ts",
      "line": 283
    },
    "since": "1.18.0",
    "category": "State updates"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/RefHashMap#union",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": "RefHashMap",
    "consumerSpecifier": "@typed/fx/RefHashMap",
    "exportName": "union",
    "qualifiedName": "union",
    "declarationKey": "declaration:80dd1542c1ffa2d01021c398",
    "family": "variable",
    "signatures": [
      "export declare const union: {\n    <K, V>(that: HashMap.HashMap<K, V>): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n    <K, V, E, R>(ref: RefHashMap<K, V, E, R>, that: HashMap.HashMap<K, V>): Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 283,
          "column": 14
        },
        "end": {
          "line": 293,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 284,
          "column": 3
        },
        "end": {
          "line": 286,
          "column": 88
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 287,
          "column": 3
        },
        "end": {
          "line": 290,
          "column": 49
        }
      }
    ],
    "aliases": [
      "@typed/fx#RefHashMap.union"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:80dd1542c1ffa2d01021c398",
    "name": "union",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const union: {\n    <K, V>(that: HashMap.HashMap<K, V>): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n    <K, V, E, R>(ref: RefHashMap<K, V, E, R>, that: HashMap.HashMap<K, V>): Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashMap.ts",
            "start": {
              "line": 283,
              "column": 14
            },
            "end": {
              "line": 293,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<K, V>(that: HashMap.HashMap<K, V>): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;",
          "<K, V, E, R>(ref: RefHashMap<K, V, E, R>, that: HashMap.HashMap<K, V>): Effect.Effect<HashMap.HashMap<K, V>, E, R>;"
        ],
        "typeParameters": [
          "K",
          "V",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashMap.ts",
            "start": {
              "line": 284,
              "column": 3
            },
            "end": {
              "line": 286,
              "column": 88
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefHashMap.ts",
            "start": {
              "line": 287,
              "column": 3
            },
            "end": {
              "line": 290,
              "column": 49
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const union: {\n    <K, V>(that: HashMap.HashMap<K, V>): <E, R>(ref: RefHashMap<K, V, E, R>) => Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n    <K, V, E, R>(ref: RefHashMap<K, V, E, R>, that: HashMap.HashMap<K, V>): Effect.Effect<HashMap.HashMap<K, V>, E, R>;\n};"
    ],
    "typeParameters": [
      "K",
      "V",
      "E",
      "R"
    ],
    "summary": "Merge another HashMap into this one.",
    "sections": {
      "Why": "Combines bulk hash map changes in one committed value, giving subscribers one coherent update\nrather than a partially applied sequence.",
      "Ownership and lifetime": "Running union performs one serialized hash map 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/RefHashMap.ts",
        "start": {
          "line": 283,
          "column": 14
        },
        "end": {
          "line": 293,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 284,
          "column": 3
        },
        "end": {
          "line": 286,
          "column": 88
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashMap.ts",
        "start": {
          "line": 287,
          "column": 3
        },
        "end": {
          "line": 290,
          "column": 49
        }
      }
    ],
    "since": "1.18.0",
    "category": "State updates"
  }
}
