{
  "id": "@typed/fx#RefHashSet.reduce",
  "canonicalId": "@typed/fx/RefHashSet#reduce",
  "symbol": {
    "id": "@typed/fx#RefHashSet.reduce",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefHashSet.reduce",
    "kind": "constant",
    "signatures": [
      "export declare const reduce: {\n    <V, B>(b: B, f: (b: B, value: V) => B): <E, R>(ref: RefHashSet<V, E, R>) => RefSubject.Computed<B, E, R>;\n    <V, E, R, B>(ref: RefHashSet<V, E, R>, b: B, f: (b: B, value: V) => B): RefSubject.Computed<B, E, R>;\n};"
    ],
    "summary": "Reduce the values to a single value.",
    "sections": {
      "Why": "Makes reduce a live projection of the hash set; consumers can sample it now or observe it\nwithout copying the source state.",
      "Ownership and lifetime": "The reduce view retains no independent state. An Effect read samples the source once; Fx\nobservation follows later pushes and its observing Scope owns subscription cleanup."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefHashSet.ts",
      "line": 506
    },
    "since": "1.18.0",
    "category": "Derived queries"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefHashSet.reduce",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefHashSet",
    "qualifiedName": "RefHashSet.reduce",
    "declarationKey": "declaration:ab44ce7f365839d21fcd55c7",
    "family": "variable",
    "signatures": [
      "export declare const reduce: {\n    <V, B>(b: B, f: (b: B, value: V) => B): <E, R>(ref: RefHashSet<V, E, R>) => RefSubject.Computed<B, E, R>;\n    <V, E, R, B>(ref: RefHashSet<V, E, R>, b: B, f: (b: B, value: V) => B): RefSubject.Computed<B, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 506,
          "column": 14
        },
        "end": {
          "line": 518,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 507,
          "column": 3
        },
        "end": {
          "line": 510,
          "column": 71
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 511,
          "column": 3
        },
        "end": {
          "line": 515,
          "column": 35
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefHashSet#reduce"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefHashSet",
    "static": false,
    "importedFrom": "declaration:ab44ce7f365839d21fcd55c7"
  },
  "declaration": {
    "declarationKey": "declaration:ab44ce7f365839d21fcd55c7",
    "name": "reduce",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const reduce: {\n    <V, B>(b: B, f: (b: B, value: V) => B): <E, R>(ref: RefHashSet<V, E, R>) => RefSubject.Computed<B, E, R>;\n    <V, E, R, B>(ref: RefHashSet<V, E, R>, b: B, f: (b: B, value: V) => B): RefSubject.Computed<B, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashSet.ts",
            "start": {
              "line": 506,
              "column": 14
            },
            "end": {
              "line": 518,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<V, B>(b: B, f: (b: B, value: V) => B): <E, R>(ref: RefHashSet<V, E, R>) => RefSubject.Computed<B, E, R>;",
          "<V, E, R, B>(ref: RefHashSet<V, E, R>, b: B, f: (b: B, value: V) => B): RefSubject.Computed<B, E, R>;"
        ],
        "typeParameters": [
          "V",
          "B",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashSet.ts",
            "start": {
              "line": 507,
              "column": 3
            },
            "end": {
              "line": 510,
              "column": 71
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefHashSet.ts",
            "start": {
              "line": 511,
              "column": 3
            },
            "end": {
              "line": 515,
              "column": 35
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const reduce: {\n    <V, B>(b: B, f: (b: B, value: V) => B): <E, R>(ref: RefHashSet<V, E, R>) => RefSubject.Computed<B, E, R>;\n    <V, E, R, B>(ref: RefHashSet<V, E, R>, b: B, f: (b: B, value: V) => B): RefSubject.Computed<B, E, R>;\n};"
    ],
    "typeParameters": [
      "V",
      "B",
      "E",
      "R"
    ],
    "summary": "Reduce the values to a single value.",
    "sections": {
      "Why": "Makes reduce a live projection of the hash set; consumers can sample it now or observe it\nwithout copying the source state.",
      "Ownership and lifetime": "The reduce view retains no independent state. An Effect read samples the source once; Fx\nobservation follows later pushes and its observing Scope owns subscription cleanup."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 506,
          "column": 14
        },
        "end": {
          "line": 518,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 507,
          "column": 3
        },
        "end": {
          "line": 510,
          "column": 71
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 511,
          "column": 3
        },
        "end": {
          "line": 515,
          "column": 35
        }
      }
    ],
    "since": "1.18.0",
    "category": "Derived queries"
  }
}
