{
  "id": "@typed/fx/Fx#succeed",
  "canonicalId": "@typed/fx/Fx#succeed",
  "symbol": {
    "id": "@typed/fx/Fx#succeed",
    "packageName": "@typed/fx",
    "moduleName": "Fx",
    "exportName": "succeed",
    "kind": "constant",
    "signatures": [
      "export declare const succeed: <A>(value: A) => Fx<A>;"
    ],
    "summary": "Creates an Fx that emits a single value and then completes.",
    "sections": {
      "Why": "A known value can enter `Fx` composition without adding failure or service\nrequirements.",
      "Ownership and lifetime": "Construction stores the value. Each run offers it exactly once, waits for the sink\nhandler, and completes without acquiring resources."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { collectAll, succeed } from \"@typed/fx/Fx\"\n\nconst program = collectAll(succeed({ status: \"ready\" }))"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/fx/src/Fx/constructors/succeed.ts",
      "line": 30
    },
    "since": "1.0.0",
    "category": "Value sources"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/Fx#succeed",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.7",
    "moduleName": "Fx",
    "consumerSpecifier": "@typed/fx/Fx",
    "exportName": "succeed",
    "qualifiedName": "succeed",
    "declarationKey": "declaration:8369c27c60a34f6ac81606dc",
    "family": "variable",
    "signatures": [
      "export declare const succeed: <A>(value: A) => Fx<A>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/constructors/succeed.ts",
        "start": {
          "line": 30,
          "column": 14
        },
        "end": {
          "line": 31,
          "column": 57
        }
      }
    ],
    "aliases": [
      "@typed/fx#Fx.succeed"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:8369c27c60a34f6ac81606dc",
    "name": "succeed",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const succeed: <A>(value: A) => Fx<A>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Fx/constructors/succeed.ts",
            "start": {
              "line": 30,
              "column": 14
            },
            "end": {
              "line": 31,
              "column": 57
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const succeed: <A>(value: A) => Fx<A>;"
    ],
    "typeParameters": [],
    "summary": "Creates an Fx that emits a single value and then completes.",
    "sections": {
      "Why": "A known value can enter `Fx` composition without adding failure or service\nrequirements.",
      "Ownership and lifetime": "Construction stores the value. Each run offers it exactly once, waits for the sink\nhandler, and completes without acquiring resources."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { collectAll, succeed } from \"@typed/fx/Fx\"\n\nconst program = collectAll(succeed({ status: \"ready\" }))"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/constructors/succeed.ts",
        "start": {
          "line": 30,
          "column": 14
        },
        "end": {
          "line": 31,
          "column": 57
        }
      }
    ],
    "since": "1.0.0",
    "category": "Value sources"
  }
}
