{
  "id": "@typed/fx/Fx#tuple",
  "canonicalId": "@typed/fx/Fx#tuple",
  "symbol": {
    "id": "@typed/fx/Fx#tuple",
    "packageName": "@typed/fx",
    "moduleName": "Fx",
    "exportName": "tuple",
    "kind": "function",
    "signatures": [
      "export declare function tuple<FX extends ReadonlyArray<Fx<any, any, any>>>(...fxs: FX): Fx<{\n    readonly [K in keyof FX]: Fx.Success<FX[K]>;\n}, Fx.Error<FX[number]>, Fx.Services<FX[number]>>;"
    ],
    "summary": "Combines multiple Fx streams into a single Fx that emits a tuple of the latest values from each stream.\nThe resulting Fx waits for all input streams to emit at least once before emitting the first tuple.\nAfterwards, it emits a new tuple whenever any input stream emits a new value.",
    "sections": {
      "Why": "`tuple` combines independent push sources by latest value while retaining their positional types.\nIt emits nothing until every source has produced once, then emits a snapshot after any update.",
      "Ownership and lifetime": "All inputs run concurrently as children of the consumer and one latest value per input is retained\nfor that run. Failure/interruption stops the group; normal completion waits for every input."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Fx } from \"@typed/fx\"\nconst point = Fx.tuple(Fx.succeed(10), Fx.succeed(20))"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/fx/src/Fx/combinators/tuple.ts",
      "line": 33
    },
    "since": "1.0.0",
    "category": "Combining sources"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/Fx#tuple",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": "Fx",
    "consumerSpecifier": "@typed/fx/Fx",
    "exportName": "tuple",
    "qualifiedName": "tuple",
    "declarationKey": "declaration:8c3119847fa1865175e098b9",
    "family": "function",
    "signatures": [
      "export declare function tuple<FX extends ReadonlyArray<Fx<any, any, any>>>(...fxs: FX): Fx<{\n    readonly [K in keyof FX]: Fx.Success<FX[K]>;\n}, Fx.Error<FX[number]>, Fx.Services<FX[number]>>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/combinators/tuple.ts",
        "start": {
          "line": 33,
          "column": 1
        },
        "end": {
          "line": 72,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/fx#Fx.tuple"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:8c3119847fa1865175e098b9",
    "name": "tuple",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function tuple<FX extends ReadonlyArray<Fx<any, any, any>>>(...fxs: FX): Fx<{\n    readonly [K in keyof FX]: Fx.Success<FX[K]>;\n}, Fx.Error<FX[number]>, Fx.Services<FX[number]>>;"
        ],
        "typeParameters": [
          "FX extends ReadonlyArray<Fx<any, any, any>>"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Fx/combinators/tuple.ts",
            "start": {
              "line": 33,
              "column": 1
            },
            "end": {
              "line": 72,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function tuple<FX extends ReadonlyArray<Fx<any, any, any>>>(...fxs: FX): Fx<{\n    readonly [K in keyof FX]: Fx.Success<FX[K]>;\n}, Fx.Error<FX[number]>, Fx.Services<FX[number]>>;"
    ],
    "typeParameters": [
      "FX extends ReadonlyArray<Fx<any, any, any>>"
    ],
    "summary": "Combines multiple Fx streams into a single Fx that emits a tuple of the latest values from each stream.\nThe resulting Fx waits for all input streams to emit at least once before emitting the first tuple.\nAfterwards, it emits a new tuple whenever any input stream emits a new value.",
    "sections": {
      "Why": "`tuple` combines independent push sources by latest value while retaining their positional types.\nIt emits nothing until every source has produced once, then emits a snapshot after any update.",
      "Ownership and lifetime": "All inputs run concurrently as children of the consumer and one latest value per input is retained\nfor that run. Failure/interruption stops the group; normal completion waits for every input."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Fx } from \"@typed/fx\"\nconst point = Fx.tuple(Fx.succeed(10), Fx.succeed(20))"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/combinators/tuple.ts",
        "start": {
          "line": 33,
          "column": 1
        },
        "end": {
          "line": 72,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Combining sources"
  }
}
