{
  "id": "@typed/fx#Fx.skipRepeats",
  "canonicalId": "@typed/fx/Fx#skipRepeats",
  "symbol": {
    "id": "@typed/fx#Fx.skipRepeats",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "Fx.skipRepeats",
    "kind": "constant",
    "signatures": [
      "export declare const skipRepeats: <A, E, R>(fx: Fx<A, E, R>) => Fx<A, E, R>;"
    ],
    "summary": "Drops elements that are equal to the previous element using standard equality.",
    "sections": {
      "Why": "`skipRepeats` removes only consecutive duplicates using Effect's structural equality. The first\nvalue always emits; distinct values remain ordered, and a value may emit again after a change.",
      "Ownership and lifetime": "One previous value is retained for each run and released when it ends. The operation owns no\nexternal resource and preserves source errors, services, and interruption."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Fx } from \"@typed/fx\"\n\nconst distinctRuns = Fx.fromIterable([1, 1, 2, 1]).pipe(Fx.skipRepeats)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/fx/src/Fx/combinators/skipRepeats.ts",
      "line": 31
    },
    "since": "1.0.0",
    "category": "Selecting values"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#Fx.skipRepeats",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "Fx",
    "qualifiedName": "Fx.skipRepeats",
    "declarationKey": "declaration:ab0033bd132698357bc90148",
    "family": "variable",
    "signatures": [
      "export declare const skipRepeats: <A, E, R>(fx: Fx<A, E, R>) => Fx<A, E, R>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/combinators/skipRepeats.ts",
        "start": {
          "line": 31,
          "column": 14
        },
        "end": {
          "line": 31,
          "column": 83
        }
      }
    ],
    "aliases": [
      "@typed/fx/Fx#skipRepeats"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#Fx",
    "static": false,
    "importedFrom": "declaration:ab0033bd132698357bc90148"
  },
  "declaration": {
    "declarationKey": "declaration:ab0033bd132698357bc90148",
    "name": "skipRepeats",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const skipRepeats: <A, E, R>(fx: Fx<A, E, R>) => Fx<A, E, R>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Fx/combinators/skipRepeats.ts",
            "start": {
              "line": 31,
              "column": 14
            },
            "end": {
              "line": 31,
              "column": 83
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const skipRepeats: <A, E, R>(fx: Fx<A, E, R>) => Fx<A, E, R>;"
    ],
    "typeParameters": [],
    "summary": "Drops elements that are equal to the previous element using standard equality.",
    "sections": {
      "Why": "`skipRepeats` removes only consecutive duplicates using Effect's structural equality. The first\nvalue always emits; distinct values remain ordered, and a value may emit again after a change.",
      "Ownership and lifetime": "One previous value is retained for each run and released when it ends. The operation owns no\nexternal resource and preserves source errors, services, and interruption."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Fx } from \"@typed/fx\"\n\nconst distinctRuns = Fx.fromIterable([1, 1, 2, 1]).pipe(Fx.skipRepeats)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/combinators/skipRepeats.ts",
        "start": {
          "line": 31,
          "column": 14
        },
        "end": {
          "line": 31,
          "column": 83
        }
      }
    ],
    "since": "1.0.0",
    "category": "Selecting values"
  }
}
