{
  "id": "@typed/fx/Fx#at",
  "canonicalId": "@typed/fx/Fx#at",
  "symbol": {
    "id": "@typed/fx/Fx#at",
    "packageName": "@typed/fx",
    "moduleName": "Fx",
    "exportName": "at",
    "kind": "constant",
    "signatures": [
      "export declare const at: {\n    (delay: Duration.Input): <A>(value: A) => Fx<A>;\n    <A>(value: A, delay: Duration.Input): Fx<A>;\n};"
    ],
    "summary": "Creates an Fx that emits a single value after a specified delay.",
    "sections": {
      "Why": "`at` models a one-shot producer while keeping the delay inside Effect's\ninterruptible scheduling rather than an unmanaged timer callback.",
      "Ownership and lifetime": "Construction starts no timer. Running the `Fx` sleeps, emits exactly once, and\ncompletes after the sink handles the value. Interrupting the run cancels the sleep."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect } from \"effect\"\nimport { at, first } from \"@typed/fx/Fx\"\n\nconst delayed = at(\"ready\", \"10 millis\")\nconst program = Effect.map(first(delayed), (value) => value)"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/fx/src/Fx/constructors/at.ts",
      "line": 36
    },
    "since": "1.0.0",
    "category": "Time and rate"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/fx/Fx#at",
    "packageName": "@typed/fx",
    "packageVersion": "2.0.0-beta.13",
    "moduleName": "Fx",
    "consumerSpecifier": "@typed/fx/Fx",
    "exportName": "at",
    "qualifiedName": "at",
    "declarationKey": "declaration:81a401c1df3acb8dfa1c7455",
    "family": "variable",
    "signatures": [
      "export declare const at: {\n    (delay: Duration.Input): <A>(value: A) => Fx<A>;\n    <A>(value: A, delay: Duration.Input): Fx<A>;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/constructors/at.ts",
        "start": {
          "line": 36,
          "column": 14
        },
        "end": {
          "line": 43,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/Fx/constructors/at.ts",
        "start": {
          "line": 37,
          "column": 3
        },
        "end": {
          "line": 37,
          "column": 51
        }
      },
      {
        "file": "packages/fx/src/Fx/constructors/at.ts",
        "start": {
          "line": 38,
          "column": 3
        },
        "end": {
          "line": 38,
          "column": 47
        }
      }
    ],
    "aliases": [
      "@typed/fx#Fx.at"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:81a401c1df3acb8dfa1c7455",
    "name": "at",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const at: {\n    (delay: Duration.Input): <A>(value: A) => Fx<A>;\n    <A>(value: A, delay: Duration.Input): Fx<A>;\n};"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Fx/constructors/at.ts",
            "start": {
              "line": 36,
              "column": 14
            },
            "end": {
              "line": 43,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "call-signature",
        "syntaxKind": "CallSignature",
        "signatures": [
          "(delay: Duration.Input): <A>(value: A) => Fx<A>;",
          "<A>(value: A, delay: Duration.Input): Fx<A>;"
        ],
        "typeParameters": [
          "A"
        ],
        "sourceSpans": [
          {
            "file": "packages/fx/src/Fx/constructors/at.ts",
            "start": {
              "line": 37,
              "column": 3
            },
            "end": {
              "line": 37,
              "column": 51
            }
          },
          {
            "file": "packages/fx/src/Fx/constructors/at.ts",
            "start": {
              "line": 38,
              "column": 3
            },
            "end": {
              "line": 38,
              "column": 47
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const at: {\n    (delay: Duration.Input): <A>(value: A) => Fx<A>;\n    <A>(value: A, delay: Duration.Input): Fx<A>;\n};"
    ],
    "typeParameters": [
      "A"
    ],
    "summary": "Creates an Fx that emits a single value after a specified delay.",
    "sections": {
      "Why": "`at` models a one-shot producer while keeping the delay inside Effect's\ninterruptible scheduling rather than an unmanaged timer callback.",
      "Ownership and lifetime": "Construction starts no timer. Running the `Fx` sleeps, emits exactly once, and\ncompletes after the sink handles the value. Interrupting the run cancels the sleep."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { Effect } from \"effect\"\nimport { at, first } from \"@typed/fx/Fx\"\n\nconst delayed = at(\"ready\", \"10 millis\")\nconst program = Effect.map(first(delayed), (value) => value)"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/fx/src/Fx/constructors/at.ts",
        "start": {
          "line": 36,
          "column": 14
        },
        "end": {
          "line": 43,
          "column": 2
        }
      },
      {
        "file": "packages/fx/src/Fx/constructors/at.ts",
        "start": {
          "line": 37,
          "column": 3
        },
        "end": {
          "line": 37,
          "column": 51
        }
      },
      {
        "file": "packages/fx/src/Fx/constructors/at.ts",
        "start": {
          "line": 38,
          "column": 3
        },
        "end": {
          "line": 38,
          "column": 47
        }
      }
    ],
    "since": "1.0.0",
    "category": "Time and rate"
  }
}
