{
  "id": "@typed/fx/Sink#Bounds",
  "canonicalId": "@typed/fx/Sink#Bounds",
  "symbol": {
    "id": "@typed/fx/Sink#Bounds",
    "packageName": "@typed/fx",
    "moduleName": "Sink",
    "exportName": "Bounds",
    "kind": "interface",
    "signatures": [
      "export interface Bounds {\n    readonly skip: number;\n    readonly take: number;\n}"
    ],
    "summary": "Zero-based skip count and maximum take count used by `slice`.",
    "sections": {
      "Why": "A named bound makes the consumer's two independent limits explicit.",
      "Ownership and lifetime": "Bounds are immutable values and acquire no resources. Each `slice` execution copies their counts\ninto private mutable counters.",
      "Property: skip": "Number of initial successful values to discard.",
      "Property: skip: Why": "A separate skip count allows bounded windows to begin after an ignored prefix.",
      "Property: skip: Ownership and lifetime": "This immutable number acquires no resources; `slice` copies it into invocation-local state.",
      "Property: take": "Maximum number of later successful values to forward before early exit.",
      "Property: take: Why": "A take count bounds downstream work and gives `slice` its normal completion point.",
      "Property: take: Ownership and lifetime": "This immutable number acquires no resources; `slice` copies it into invocation-local state."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { Bounds } from \"@typed/fx/Sink\"\nconst secondAndThird: Bounds = { skip: 1, take: 2 }"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/fx/src/Sink/combinators.ts",
      "line": 1099
    },
    "since": "1.0.0",
    "category": "Operator options"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/Sink#Bounds",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": "Sink",
    "consumerSpecifier": "@typed/fx/Sink",
    "exportName": "Bounds",
    "qualifiedName": "Bounds",
    "declarationKey": "declaration:ccc4702a09a2cad049cc1758",
    "family": "interface",
    "signatures": [
      "export interface Bounds {\n    readonly skip: number;\n    readonly take: number;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Sink/combinators.ts",
        "start": {
          "line": 1099,
          "column": 1
        },
        "end": {
          "line": 1128,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/Sink/combinators.ts",
        "start": {
          "line": 1113,
          "column": 3
        },
        "end": {
          "line": 1113,
          "column": 25
        }
      },
      {
        "file": "packages/fx/src/Sink/combinators.ts",
        "start": {
          "line": 1127,
          "column": 3
        },
        "end": {
          "line": 1127,
          "column": 25
        }
      }
    ],
    "aliases": [
      "@typed/fx#Sink.Bounds"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:ccc4702a09a2cad049cc1758",
    "name": "Bounds",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface Bounds {\n    readonly skip: number;\n    readonly take: number;\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Sink/combinators.ts",
            "start": {
              "line": 1099,
              "column": 1
            },
            "end": {
              "line": 1128,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly skip: number;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Sink/combinators.ts",
            "start": {
              "line": 1113,
              "column": 3
            },
            "end": {
              "line": 1113,
              "column": 25
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly take: number;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Sink/combinators.ts",
            "start": {
              "line": 1127,
              "column": 3
            },
            "end": {
              "line": 1127,
              "column": 25
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export interface Bounds {\n    readonly skip: number;\n    readonly take: number;\n}"
    ],
    "typeParameters": [],
    "summary": "Zero-based skip count and maximum take count used by `slice`.",
    "sections": {
      "Why": "A named bound makes the consumer's two independent limits explicit.",
      "Ownership and lifetime": "Bounds are immutable values and acquire no resources. Each `slice` execution copies their counts\ninto private mutable counters.",
      "Property: skip": "Number of initial successful values to discard.",
      "Property: skip: Why": "A separate skip count allows bounded windows to begin after an ignored prefix.",
      "Property: skip: Ownership and lifetime": "This immutable number acquires no resources; `slice` copies it into invocation-local state.",
      "Property: take": "Maximum number of later successful values to forward before early exit.",
      "Property: take: Why": "A take count bounds downstream work and gives `slice` its normal completion point.",
      "Property: take: Ownership and lifetime": "This immutable number acquires no resources; `slice` copies it into invocation-local state."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { Bounds } from \"@typed/fx/Sink\"\nconst secondAndThird: Bounds = { skip: 1, take: 2 }"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Sink/combinators.ts",
        "start": {
          "line": 1099,
          "column": 1
        },
        "end": {
          "line": 1128,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/Sink/combinators.ts",
        "start": {
          "line": 1113,
          "column": 3
        },
        "end": {
          "line": 1113,
          "column": 25
        }
      },
      {
        "file": "packages/fx/src/Sink/combinators.ts",
        "start": {
          "line": 1127,
          "column": 3
        },
        "end": {
          "line": 1127,
          "column": 25
        }
      }
    ],
    "since": "1.0.0",
    "category": "Operator options"
  }
}
