{
  "id": "@typed/fx/RefBigDecimal#make",
  "canonicalId": "@typed/fx/RefBigDecimal#make",
  "symbol": {
    "id": "@typed/fx/RefBigDecimal#make",
    "packageName": "@typed/fx",
    "moduleName": "RefBigDecimal",
    "exportName": "make",
    "kind": "function",
    "signatures": [
      "export declare function make<E = never, R = never>(initial: BigDecimal.BigDecimal | Effect.Effect<BigDecimal.BigDecimal, E, R> | Fx.Fx<BigDecimal.BigDecimal, E, R>): Effect.Effect<RefBigDecimal<E>, never, R | Scope.Scope>;"
    ],
    "summary": "Creates a new `RefBigDecimal` from a BigDecimal, `Effect`, or `Fx`.",
    "sections": {
      "Why": "Creates big decimal state with equality suited to that Effect data type, so unchanged values do\nnot produce 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, BigDecimal } from \"effect\"\nimport * as RefBigDecimal from \"@typed/fx/RefBigDecimal\"\n\nconst program = Effect.gen(function* () {\n  const value = yield* RefBigDecimal.make(BigDecimal.fromStringUnsafe(\"123.45\"))\n  const current = yield* value\n  console.log(current) // BigDecimal(123.45)\n})"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/fx/src/RefSubject/RefBigDecimal.ts",
      "line": 64
    },
    "since": "1.18.0",
    "category": "Constructors"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/RefBigDecimal#make",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": "RefBigDecimal",
    "consumerSpecifier": "@typed/fx/RefBigDecimal",
    "exportName": "make",
    "qualifiedName": "make",
    "declarationKey": "declaration:d4733950792e6c63663d7159",
    "family": "function",
    "signatures": [
      "export declare function make<E = never, R = never>(initial: BigDecimal.BigDecimal | Effect.Effect<BigDecimal.BigDecimal, E, R> | Fx.Fx<BigDecimal.BigDecimal, E, R>): Effect.Effect<RefBigDecimal<E>, never, R | Scope.Scope>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefBigDecimal.ts",
        "start": {
          "line": 64,
          "column": 1
        },
        "end": {
          "line": 71,
          "column": 2
        }
      }
    ],
    "aliases": [
      "@typed/fx#RefBigDecimal.make"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:d4733950792e6c63663d7159",
    "name": "make",
    "family": "function",
    "facets": [
      {
        "family": "function",
        "syntaxKind": "FunctionDeclaration",
        "signatures": [
          "export declare function make<E = never, R = never>(initial: BigDecimal.BigDecimal | Effect.Effect<BigDecimal.BigDecimal, E, R> | Fx.Fx<BigDecimal.BigDecimal, E, R>): Effect.Effect<RefBigDecimal<E>, never, R | Scope.Scope>;"
        ],
        "typeParameters": [
          "E = never",
          "R = never"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/RefSubject/RefBigDecimal.ts",
            "start": {
              "line": 64,
              "column": 1
            },
            "end": {
              "line": 71,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare function make<E = never, R = never>(initial: BigDecimal.BigDecimal | Effect.Effect<BigDecimal.BigDecimal, E, R> | Fx.Fx<BigDecimal.BigDecimal, E, R>): Effect.Effect<RefBigDecimal<E>, never, R | Scope.Scope>;"
    ],
    "typeParameters": [
      "E = never",
      "R = never"
    ],
    "summary": "Creates a new `RefBigDecimal` from a BigDecimal, `Effect`, or `Fx`.",
    "sections": {
      "Why": "Creates big decimal state with equality suited to that Effect data type, so unchanged values do\nnot produce 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, BigDecimal } from \"effect\"\nimport * as RefBigDecimal from \"@typed/fx/RefBigDecimal\"\n\nconst program = Effect.gen(function* () {\n  const value = yield* RefBigDecimal.make(BigDecimal.fromStringUnsafe(\"123.45\"))\n  const current = yield* value\n  console.log(current) // BigDecimal(123.45)\n})"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/RefSubject/RefBigDecimal.ts",
        "start": {
          "line": 64,
          "column": 1
        },
        "end": {
          "line": 71,
          "column": 2
        }
      }
    ],
    "since": "1.18.0",
    "category": "Constructors"
  }
}
