{
  "id": "@typed/fx/RefRecord#clear",
  "canonicalId": "@typed/fx/RefRecord#clear",
  "symbol": {
    "id": "@typed/fx/RefRecord#clear",
    "packageName": "@typed/fx",
    "moduleName": "RefRecord",
    "exportName": "clear",
    "kind": "constant",
    "signatures": [
      "export declare const clear: <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;"
    ],
    "summary": "Clear all entries from the Record.",
    "sections": {
      "Why": "Applies clear to the committed record value and publishes only the result, preserving its\nelement order and equality rules.",
      "Ownership and lifetime": "Running clear performs one serialized record 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/RefRecord.ts",
      "line": 212
    },
    "since": "1.18.0",
    "category": "State updates"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/RefRecord#clear",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": "RefRecord",
    "consumerSpecifier": "@typed/fx/RefRecord",
    "exportName": "clear",
    "qualifiedName": "clear",
    "declarationKey": "declaration:72e0c02a128f4e6c518670fc",
    "family": "variable",
    "signatures": [
      "export declare const clear: <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefRecord.ts",
        "start": {
          "line": 212,
          "column": 14
        },
        "end": {
          "line": 215,
          "column": 78
        }
      }
    ],
    "aliases": [
      "@typed/fx#RefRecord.clear"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:72e0c02a128f4e6c518670fc",
    "name": "clear",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const clear: <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefRecord.ts",
            "start": {
              "line": 212,
              "column": 14
            },
            "end": {
              "line": 215,
              "column": 78
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const clear: <K extends string, V, E, R>(ref: RefRecord<K, V, E, R>) => Effect.Effect<Record.ReadonlyRecord<K, V>, E, R>;"
    ],
    "typeParameters": [],
    "summary": "Clear all entries from the Record.",
    "sections": {
      "Why": "Applies clear to the committed record value and publishes only the result, preserving its\nelement order and equality rules.",
      "Ownership and lifetime": "Running clear performs one serialized record 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/RefRecord.ts",
        "start": {
          "line": 212,
          "column": 14
        },
        "end": {
          "line": 215,
          "column": 78
        }
      }
    ],
    "since": "1.18.0",
    "category": "State updates"
  }
}
