{
  "id": "@typed/async-data#startLoading",
  "canonicalId": "@typed/async-data#startLoading",
  "symbol": {
    "id": "@typed/async-data#startLoading",
    "packageName": "@typed/async-data",
    "moduleName": ".",
    "exportName": "startLoading",
    "kind": "constant",
    "signatures": [
      "export declare const startLoading: <A, E>(data: AsyncData<A, E>, progress?: Progress) => AsyncData<A, E>;"
    ],
    "summary": "Starts loading while preserving successful, failed, and optimistic history.",
    "sections": {
      "Why": "Refreshes should keep usable values or causes visible, and optimistic layers must remain in their original order. Cyclic history throws `TypeError`.",
      "Ownership and lifetime": "This pure transformation acquires no resources and returns new plain wrappers where rebuilding is needed."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { startLoading, success } from \"@typed/async-data\"\nconst refreshing = startLoading(success(\"cached\"))"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/async-data/src/index.ts",
      "line": 739
    },
    "since": "1.0.0",
    "category": "Refresh transitions"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/async-data#startLoading",
    "packageName": "@typed/async-data",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": ".",
    "consumerSpecifier": "@typed/async-data",
    "exportName": "startLoading",
    "qualifiedName": "startLoading",
    "declarationKey": "declaration:518f9fcb6c86b77a21933511",
    "family": "variable",
    "signatures": [
      "export declare const startLoading: <A, E>(data: AsyncData<A, E>, progress?: Progress) => AsyncData<A, E>;"
    ],
    "sourceSpans": [
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 739,
          "column": 14
        },
        "end": {
          "line": 752,
          "column": 2
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:518f9fcb6c86b77a21933511",
    "name": "startLoading",
    "family": "variable",
    "facets": [
      {
        "family": "variable",
        "syntaxKind": "VariableDeclaration",
        "signatures": [
          "export declare const startLoading: <A, E>(data: AsyncData<A, E>, progress?: Progress) => AsyncData<A, E>;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/async-data/src/index.ts",
            "start": {
              "line": 739,
              "column": 14
            },
            "end": {
              "line": 752,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      }
    ],
    "signatures": [
      "export declare const startLoading: <A, E>(data: AsyncData<A, E>, progress?: Progress) => AsyncData<A, E>;"
    ],
    "typeParameters": [],
    "summary": "Starts loading while preserving successful, failed, and optimistic history.",
    "sections": {
      "Why": "Refreshes should keep usable values or causes visible, and optimistic layers must remain in their original order. Cyclic history throws `TypeError`.",
      "Ownership and lifetime": "This pure transformation acquires no resources and returns new plain wrappers where rebuilding is needed."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import { startLoading, success } from \"@typed/async-data\"\nconst refreshing = startLoading(success(\"cached\"))"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 739,
          "column": 14
        },
        "end": {
          "line": 752,
          "column": 2
        }
      }
    ],
    "since": "1.0.0",
    "category": "Refresh transitions"
  }
}
