{
  "id": "@typed/fx#RefBigInt.make",
  "canonicalId": "@typed/fx/RefBigInt#make",
  "symbol": {
    "id": "@typed/fx#RefBigInt.make",
    "packageName": "@typed/fx",
    "moduleName": ".",
    "exportName": "RefBigInt.make",
    "kind": "function",
    "signatures": [
      "export declare function make<E = never, R = never>(initial: bigint | Effect.Effect<bigint, E, R> | Fx.Fx<bigint, E, R>, eq?: Equivalence<bigint>): Effect.Effect<RefBigInt<E>, never, R | Scope.Scope>;"
    ],
    "summary": "Creates a new `RefBigInt` from a BigInt, `Effect`, or `Fx`.",
    "sections": {
      "Why": "Creates big int state with equality suited to that Effect data type, so unchanged values do not\nproduce redundant pushed updates.",
      "Ownership and lifetime": "The creation Effect requires Scope. It owns initializer acquisition, live source subscriptions,\nand cleanup; source failures and services stay on reads and pushes."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect, BigInt } from \"effect\"\nimport * as RefBigInt from \"@typed/fx/RefBigInt\"\n\nconst program = Effect.gen(function* () {\n  const value = yield* RefBigInt.make(BigInt.BigInt(123))\n  const current = yield* value\n  console.log(current) // 123n\n})"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefBigInt.ts",
      "line": 66
    },
    "since": "1.18.0",
    "category": "Constructors"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx#RefBigInt.make",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/fx",
    "exportName": "RefBigInt",
    "qualifiedName": "RefBigInt.make",
    "declarationKey": "declaration:6e46af36f666c7c00c2281ef",
    "family": "function",
    "signatures": [
      "export declare function make<E = never, R = never>(initial: bigint | Effect.Effect<bigint, E, R> | Fx.Fx<bigint, E, R>, eq?: Equivalence<bigint>): Effect.Effect<RefBigInt<E>, never, R | Scope.Scope>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefBigInt.ts",
        "start": {
          "line": 66,
          "column": 1
        },
        "end": {
          "line": 71,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/fx/RefBigInt#make"
    ],
    "isAlias": true,
    "parentId": "@typed/fx#RefBigInt",
    "static": false,
    "importedFrom": "declaration:6e46af36f666c7c00c2281ef"
  },
  "declaration": {
    "declarationKey": "declaration:6e46af36f666c7c00c2281ef",
    "name": "make",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function make<E = never, R = never>(initial: bigint | Effect.Effect<bigint, E, R> | Fx.Fx<bigint, E, R>, eq?: Equivalence<bigint>): Effect.Effect<RefBigInt<E>, never, R | Scope.Scope>;"
        ],
        "typeParameters": [
          "E = never",
          "R = never"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefBigInt.ts",
            "start": {
              "line": 66,
              "column": 1
            },
            "end": {
              "line": 71,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function make<E = never, R = never>(initial: bigint | Effect.Effect<bigint, E, R> | Fx.Fx<bigint, E, R>, eq?: Equivalence<bigint>): Effect.Effect<RefBigInt<E>, never, R | Scope.Scope>;"
    ],
    "typeParameters": [
      "E = never",
      "R = never"
    ],
    "summary": "Creates a new `RefBigInt` from a BigInt, `Effect`, or `Fx`.",
    "sections": {
      "Why": "Creates big int state with equality suited to that Effect data type, so unchanged values do not\nproduce redundant pushed updates.",
      "Ownership and lifetime": "The creation Effect requires Scope. It owns initializer acquisition, live source subscriptions,\nand cleanup; source failures and services stay on reads and pushes."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect, BigInt } from \"effect\"\nimport * as RefBigInt from \"@typed/fx/RefBigInt\"\n\nconst program = Effect.gen(function* () {\n  const value = yield* RefBigInt.make(BigInt.BigInt(123))\n  const current = yield* value\n  console.log(current) // 123n\n})"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefBigInt.ts",
        "start": {
          "line": 66,
          "column": 1
        },
        "end": {
          "line": 71,
          "column": 2
        }
      }
    ],
    "since": "1.18.0",
    "category": "Constructors"
  }
}
