{
  "id": "@typed/async-data#Loading",
  "canonicalId": "@typed/async-data#Loading",
  "symbol": {
    "id": "@typed/async-data#Loading",
    "packageName": "@typed/async-data",
    "moduleName": ".",
    "exportName": "Loading",
    "kind": "interface",
    "signatures": [
      "export interface Loading {\n    readonly _tag: \"Loading\";\n    readonly progress?: Progress | undefined;\n}"
    ],
    "summary": "Represents active work that has not produced a prior value or failure.",
    "sections": {
      "Why": "Loading is separate from refreshing so consumers can decide whether stale content remains available.",
      "Ownership and lifetime": "This plain object acquires no resources; the operation it describes is owned elsewhere and the object is not frozen.",
      "Property: _tag": "The discriminant for loading without a prior result.",
      "Property: _tag: Why": "The literal tag makes loading branches explicit and exhaustively checkable.",
      "Property: _tag: Ownership and lifetime": "Inherits the resource-free lifetime of its enclosing state.",
      "Property: progress": "Optional progress reported by the active producer.",
      "Property: progress: Why": "Keeping progress optional supports both determinate and uninstrumented operations.",
      "Property: progress: Ownership and lifetime": "Inherits the resource-free lifetime of its enclosing state."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { loading } from \"@typed/async-data\"\nconst state = loading({ loaded: 0 })"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/async-data/src/index.ts",
      "line": 98
    },
    "since": "1.0.0",
    "category": "State models"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/async-data#Loading",
    "packageName": "@typed/async-data",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/async-data",
    "exportName": "Loading",
    "qualifiedName": "Loading",
    "declarationKey": "declaration:7ef607c69e22acfcdd91523f",
    "family": "interface",
    "signatures": [
      "export interface Loading {\n    readonly _tag: \"Loading\";\n    readonly progress?: Progress | undefined;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 98,
          "column": 1
        },
        "end": {
          "line": 121,
          "column": 2
        }
      },
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 109,
          "column": 3
        },
        "end": {
          "line": 109,
          "column": 28
        }
      },
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 120,
          "column": 3
        },
        "end": {
          "line": 120,
          "column": 44
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:7ef607c69e22acfcdd91523f",
    "name": "Loading",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface Loading {\n    readonly _tag: \"Loading\";\n    readonly progress?: Progress | undefined;\n}"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/async-data/src/index.ts",
            "start": {
              "line": 98,
              "column": 1
            },
            "end": {
              "line": 121,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly _tag: \"Loading\";"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/async-data/src/index.ts",
            "start": {
              "line": 109,
              "column": 3
            },
            "end": {
              "line": 109,
              "column": 28
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly progress?: Progress | undefined;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/async-data/src/index.ts",
            "start": {
              "line": 120,
              "column": 3
            },
            "end": {
              "line": 120,
              "column": 44
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": true
      }
    ],
    "signatures": [
      "export interface Loading {\n    readonly _tag: \"Loading\";\n    readonly progress?: Progress | undefined;\n}"
    ],
    "typeParameters": [],
    "summary": "Represents active work that has not produced a prior value or failure.",
    "sections": {
      "Why": "Loading is separate from refreshing so consumers can decide whether stale content remains available.",
      "Ownership and lifetime": "This plain object acquires no resources; the operation it describes is owned elsewhere and the object is not frozen.",
      "Property: _tag": "The discriminant for loading without a prior result.",
      "Property: _tag: Why": "The literal tag makes loading branches explicit and exhaustively checkable.",
      "Property: _tag: Ownership and lifetime": "Inherits the resource-free lifetime of its enclosing state.",
      "Property: progress": "Optional progress reported by the active producer.",
      "Property: progress: Why": "Keeping progress optional supports both determinate and uninstrumented operations.",
      "Property: progress: Ownership and lifetime": "Inherits the resource-free lifetime of its enclosing state."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { loading } from \"@typed/async-data\"\nconst state = loading({ loaded: 0 })"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 98,
          "column": 1
        },
        "end": {
          "line": 121,
          "column": 2
        }
      },
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 109,
          "column": 3
        },
        "end": {
          "line": 109,
          "column": 28
        }
      },
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 120,
          "column": 3
        },
        "end": {
          "line": 120,
          "column": 44
        }
      }
    ],
    "since": "1.0.0",
    "category": "State models"
  }
}
