{
  "id": "@typed/fx/Versioned#make",
  "canonicalId": "@typed/fx/Versioned#make",
  "symbol": {
    "id": "@typed/fx/Versioned#make",
    "packageName": "@typed/fx",
    "moduleName": "Versioned",
    "exportName": "make",
    "kind": "function",
    "signatures": [
      "export declare function make<R1, E1, A2, E2, R2, A3, E3, R3>(version: Effect.Effect<number, E1, R1>, fx: Fx.Fx<A2, E2, R2>, effect: Effect.Effect<A3, E3, R3>): Versioned<R1, E1, A2, E2, R2, A3, E3, R3>;"
    ],
    "summary": "Creates a Versioned value from its components.",
    "sections": {
      "Why": "Builds one Versioned value from independently typed version, update, and current-value channels\ninstead of forcing them into one error or environment type.",
      "Ownership and lifetime": "Construction is lazy with respect to the Fx channel. Current reads share in-flight work until\ninterrupt is run; each component retains its declared errors and services."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect } from \"effect\"\nimport * as Fx from \"@typed/fx/Fx\"\nimport * as Versioned from \"@typed/fx/Versioned\"\n\nconst status = Versioned.make(\n  Effect.succeed(1),\n  Fx.succeed(\"ready\"),\n  Effect.succeed(\"ready\")\n)\n\nconst snapshot = Effect.all({ value: status, version: status.version })"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/fx/src/Versioned/Versioned.ts",
      "line": 347
    },
    "since": "1.0.0",
    "category": "Constructors"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/Versioned#make",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": "Versioned",
    "consumerSpecifier": "@typed/fx/Versioned",
    "exportName": "make",
    "qualifiedName": "make",
    "declarationKey": "declaration:a937980d546ad0b2f4209994",
    "family": "function",
    "signatures": [
      "export declare function make<R1, E1, A2, E2, R2, A3, E3, R3>(version: Effect.Effect<number, E1, R1>, fx: Fx.Fx<A2, E2, R2>, effect: Effect.Effect<A3, E3, R3>): Versioned<R1, E1, A2, E2, R2, A3, E3, R3>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Versioned/Versioned.ts",
        "start": {
          "line": 347,
          "column": 1
        },
        "end": {
          "line": 353,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/fx#Versioned.make"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:a937980d546ad0b2f4209994",
    "name": "make",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function make<R1, E1, A2, E2, R2, A3, E3, R3>(version: Effect.Effect<number, E1, R1>, fx: Fx.Fx<A2, E2, R2>, effect: Effect.Effect<A3, E3, R3>): Versioned<R1, E1, A2, E2, R2, A3, E3, R3>;"
        ],
        "typeParameters": [
          "R1",
          "E1",
          "A2",
          "E2",
          "R2",
          "A3",
          "E3",
          "R3"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Versioned/Versioned.ts",
            "start": {
              "line": 347,
              "column": 1
            },
            "end": {
              "line": 353,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function make<R1, E1, A2, E2, R2, A3, E3, R3>(version: Effect.Effect<number, E1, R1>, fx: Fx.Fx<A2, E2, R2>, effect: Effect.Effect<A3, E3, R3>): Versioned<R1, E1, A2, E2, R2, A3, E3, R3>;"
    ],
    "typeParameters": [
      "R1",
      "E1",
      "A2",
      "E2",
      "R2",
      "A3",
      "E3",
      "R3"
    ],
    "summary": "Creates a Versioned value from its components.",
    "sections": {
      "Why": "Builds one Versioned value from independently typed version, update, and current-value channels\ninstead of forcing them into one error or environment type.",
      "Ownership and lifetime": "Construction is lazy with respect to the Fx channel. Current reads share in-flight work until\ninterrupt is run; each component retains its declared errors and services."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect } from \"effect\"\nimport * as Fx from \"@typed/fx/Fx\"\nimport * as Versioned from \"@typed/fx/Versioned\"\n\nconst status = Versioned.make(\n  Effect.succeed(1),\n  Fx.succeed(\"ready\"),\n  Effect.succeed(\"ready\")\n)\n\nconst snapshot = Effect.all({ value: status, version: status.version })"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Versioned/Versioned.ts",
        "start": {
          "line": 347,
          "column": 1
        },
        "end": {
          "line": 353,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Constructors"
  }
}
