{
  "id": "@typed/fx/RefHashSet#filter",
  "canonicalId": "@typed/fx/RefHashSet#filter",
  "symbol": {
    "id": "@typed/fx/RefHashSet#filter",
    "packageName": "@typed/fx",
    "moduleName": "RefHashSet",
    "exportName": "filter",
    "kind": "constant",
    "signatures": [
      "export declare const filter: {\n    <V>(predicate: (value: V) => boolean): <E, R>(ref: RefHashSet<V, E, R>) => Effect.Effect<HashSet.HashSet<V>, E, R>;\n    <V, E, R>(ref: RefHashSet<V, E, R>, predicate: (value: V) => boolean): Effect.Effect<HashSet.HashSet<V>, E, R>;\n};"
    ],
    "summary": "Filter values in place.",
    "sections": {
      "Why": "Applies filter to the committed HashSet through `RefSubject.update` and publishes one coherent\nreplacement; this is a mutation, not a read-only Computed projection.",
      "Ownership and lifetime": "The Effect starts when run, participates in the source ref's serialized update boundary, and\nacquires no resource. It returns the committed HashSet and retains the ref's E and R channels."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefHashSet.ts",
      "line": 229
    },
    "since": "1.18.0",
    "category": "State updates"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/RefHashSet#filter",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": "RefHashSet",
    "consumerSpecifier": "@typed/fx/RefHashSet",
    "exportName": "filter",
    "qualifiedName": "filter",
    "declarationKey": "declaration:b6fd555b5a36213d3efe76ac",
    "family": "variable",
    "signatures": [
      "export declare const filter: {\n    <V>(predicate: (value: V) => boolean): <E, R>(ref: RefHashSet<V, E, R>) => Effect.Effect<HashSet.HashSet<V>, E, R>;\n    <V, E, R>(ref: RefHashSet<V, E, R>, predicate: (value: V) => boolean): Effect.Effect<HashSet.HashSet<V>, E, R>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 229,
          "column": 14
        },
        "end": {
          "line": 239,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 230,
          "column": 3
        },
        "end": {
          "line": 232,
          "column": 82
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 233,
          "column": 3
        },
        "end": {
          "line": 236,
          "column": 46
        }
      }
    ],
    "aliases": [
      "@typed/fx#RefHashSet.filter"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:b6fd555b5a36213d3efe76ac",
    "name": "filter",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const filter: {\n    <V>(predicate: (value: V) => boolean): <E, R>(ref: RefHashSet<V, E, R>) => Effect.Effect<HashSet.HashSet<V>, E, R>;\n    <V, E, R>(ref: RefHashSet<V, E, R>, predicate: (value: V) => boolean): Effect.Effect<HashSet.HashSet<V>, E, R>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashSet.ts",
            "start": {
              "line": 229,
              "column": 14
            },
            "end": {
              "line": 239,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "<V>(predicate: (value: V) => boolean): <E, R>(ref: RefHashSet<V, E, R>) => Effect.Effect<HashSet.HashSet<V>, E, R>;",
          "<V, E, R>(ref: RefHashSet<V, E, R>, predicate: (value: V) => boolean): Effect.Effect<HashSet.HashSet<V>, E, R>;"
        ],
        "typeParameters": [
          "V",
          "E",
          "R"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefHashSet.ts",
            "start": {
              "line": 230,
              "column": 3
            },
            "end": {
              "line": 232,
              "column": 82
            }
          },
          {
            "file": "packages/fx/src/RefSubject/RefHashSet.ts",
            "start": {
              "line": 233,
              "column": 3
            },
            "end": {
              "line": 236,
              "column": 46
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const filter: {\n    <V>(predicate: (value: V) => boolean): <E, R>(ref: RefHashSet<V, E, R>) => Effect.Effect<HashSet.HashSet<V>, E, R>;\n    <V, E, R>(ref: RefHashSet<V, E, R>, predicate: (value: V) => boolean): Effect.Effect<HashSet.HashSet<V>, E, R>;\n};"
    ],
    "typeParameters": [
      "V",
      "E",
      "R"
    ],
    "summary": "Filter values in place.",
    "sections": {
      "Why": "Applies filter to the committed HashSet through `RefSubject.update` and publishes one coherent\nreplacement; this is a mutation, not a read-only Computed projection.",
      "Ownership and lifetime": "The Effect starts when run, participates in the source ref's serialized update boundary, and\nacquires no resource. It returns the committed HashSet and retains the ref's E and R channels."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 229,
          "column": 14
        },
        "end": {
          "line": 239,
          "column": 3
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 230,
          "column": 3
        },
        "end": {
          "line": 232,
          "column": 82
        }
      },
      {
        "file": "packages/fx/src/RefSubject/RefHashSet.ts",
        "start": {
          "line": 233,
          "column": 3
        },
        "end": {
          "line": 236,
          "column": 46
        }
      }
    ],
    "since": "1.18.0",
    "category": "State updates"
  }
}
