{
  "id": "@typed/fx#RefRecord.intersection",
  "canonicalId": "@typed/fx/RefRecord#intersection",
  "symbol": {
    "id": "@typed/fx#RefRecord.intersection",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefRecord.intersection",
    "kind": "constant",
    "signatures": [
      "export declare const intersection: {\n    <K extends string, V>(that: Record.ReadonlyRecord<K, V>, combine?: (selfValue: V, thatValue: V) => V): <E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;\n    <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, that: Record.ReadonlyRecord<K, V>, combine?: (selfValue: V, thatValue: V) => V): Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;\n};"
    ],
    "summary": "Intersection with another record.",
    "sections": {
      "Why": "Intersection with another record. The operation remains attached to the RefSubject's versioned\nstate boundary.",
      "Ownership and lifetime": "Running intersection performs one serialized record 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/RefRecord.ts",
      "line": 273
    },
    "since": "1.18.0",
    "category": "State updates"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefRecord.intersection",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefRecord",
    "qualifiedName": "RefRecord.intersection",
    "declarationKey": "declaration:595fffa0275ab8994e8be948",
    "family": "variable",
    "signatures": [
      "export declare const intersection: {\n    <K extends string, V>(that: Record.ReadonlyRecord<K, V>, combine?: (selfValue: V, thatValue: V) => V): <E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;\n    <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, that: Record.ReadonlyRecord<K, V>, combine?: (selfValue: V, thatValue: V) => V): Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 273,
          "column": 14
        },
        "end": {
          "line": 295,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 274,
          "column": 3
        },
        "end": {
          "line": 277,
          "column": 93
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 278,
          "column": 3
        },
        "end": {
          "line": 282,
          "column": 55
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefRecord#intersection"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefRecord",
    "static": false,
    "importedFrom": "declaration:595fffa0275ab8994e8be948"
  },
  "declaration": {
    "declarationKey": "declaration:595fffa0275ab8994e8be948",
    "name": "intersection",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const intersection: {\n    <K extends string, V>(that: Record.ReadonlyRecord<K, V>, combine?: (selfValue: V, thatValue: V) => V): <E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;\n    <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, that: Record.ReadonlyRecord<K, V>, combine?: (selfValue: V, thatValue: V) => V): Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefRecord.ts",
            "start": {
              "line": 273,
              "column": 14
            },
            "end": {
              "line": 295,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<K extends string, V>(that: Record.ReadonlyRecord<K, V>, combine?: (selfValue: V, thatValue: V) => V): <E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;",
          "<K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, that: Record.ReadonlyRecord<K, V>, combine?: (selfValue: V, thatValue: V) => V): Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;"
        ],
        "typeParameters": [
          "K extends string",
          "V",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefRecord.ts",
            "start": {
              "line": 274,
              "column": 3
            },
            "end": {
              "line": 277,
              "column": 93
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefRecord.ts",
            "start": {
              "line": 278,
              "column": 3
            },
            "end": {
              "line": 282,
              "column": 55
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const intersection: {\n    <K extends string, V>(that: Record.ReadonlyRecord<K, V>, combine?: (selfValue: V, thatValue: V) => V): <E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;\n    <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>, that: Record.ReadonlyRecord<K, V>, combine?: (selfValue: V, thatValue: V) => V): Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;\n};"
    ],
    "typeParameters": [
      "K extends string",
      "V",
      "E",
      "R"
    ],
    "summary": "Intersection with another record.",
    "sections": {
      "Why": "Intersection with another record. The operation remains attached to the RefSubject's versioned\nstate boundary.",
      "Ownership and lifetime": "Running intersection performs one serialized record 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/RefRecord.ts",
        "start": {
          "line": 273,
          "column": 14
        },
        "end": {
          "line": 295,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 274,
          "column": 3
        },
        "end": {
          "line": 277,
          "column": 93
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 278,
          "column": 3
        },
        "end": {
          "line": 282,
          "column": 55
        }
      }
    ],
    "since": "1.18.0",
    "category": "State updates"
  }
}
