{
  "id": "@typed/async-data#Refreshing",
  "canonicalId": "@typed/async-data#Refreshing",
  "symbol": {
    "id": "@typed/async-data#Refreshing",
    "packageName": "@typed/async-data",
    "moduleName": ".",
    "exportName": "Refreshing",
    "kind": "type",
    "signatures": [
      "export type Refreshing<A, E> = (Success<A> | Failure<E>) & {\n    readonly progress: Progress;\n};"
    ],
    "summary": "A success or failure that retains progress for an active refresh.",
    "sections": {
      "Why": "This refinement lets consumers distinguish refreshes without losing the previous result.",
      "Ownership and lifetime": "This structural view acquires no resources and has the lifetime of the underlying state value.",
      "Property: progress": "Progress whose presence marks the retained result as actively refreshing."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { Refreshing } from \"@typed/async-data\"\nconst state: Refreshing<number, never> = { _tag: \"Success\", value: 1, progress: { loaded: 0 } }"
      }
    ],
    "relations": [],
    "source": {
      "file": "packages/async-data/src/index.ts",
      "line": 311
    },
    "since": "1.0.0",
    "category": "State models"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/async-data#Refreshing",
    "packageName": "@typed/async-data",
    "packageVersion": "1.0.0-beta.7",
    "moduleName": ".",
    "consumerSpecifier": "@typed/async-data",
    "exportName": "Refreshing",
    "qualifiedName": "Refreshing",
    "declarationKey": "declaration:b508ad729f7acbb44f6fac84",
    "family": "type-alias",
    "signatures": [
      "export type Refreshing<A, E> = (Success<A> | Failure<E>) & {\n    readonly progress: Progress;\n};"
    ],
    "sourceSpans": [
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 311,
          "column": 1
        },
        "end": {
          "line": 314,
          "column": 3
        }
      },
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 313,
          "column": 3
        },
        "end": {
          "line": 313,
          "column": 31
        }
      }
    ],
    "aliases": [],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:b508ad729f7acbb44f6fac84",
    "name": "Refreshing",
    "family": "type-alias",
    "facets": [
      {
        "family": "type-alias",
        "syntaxKind": "TypeAliasDeclaration",
        "signatures": [
          "export type Refreshing<A, E> = (Success<A> | Failure<E>) & {\n    readonly progress: Progress;\n};"
        ],
        "typeParameters": [
          "A",
          "E"
        ],
        "sourceSpans": [
          {
            "file": "packages/async-data/src/index.ts",
            "start": {
              "line": 311,
              "column": 1
            },
            "end": {
              "line": 314,
              "column": 3
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly progress: Progress;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/async-data/src/index.ts",
            "start": {
              "line": 313,
              "column": 3
            },
            "end": {
              "line": 313,
              "column": 31
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export type Refreshing<A, E> = (Success<A> | Failure<E>) & {\n    readonly progress: Progress;\n};"
    ],
    "typeParameters": [
      "A",
      "E"
    ],
    "summary": "A success or failure that retains progress for an active refresh.",
    "sections": {
      "Why": "This refinement lets consumers distinguish refreshes without losing the previous result.",
      "Ownership and lifetime": "This structural view acquires no resources and has the lifetime of the underlying state value.",
      "Property: progress": "Progress whose presence marks the retained result as actively refreshing."
    },
    "examples": [
      {
        "language": "ts",
        "code": "import type { Refreshing } from \"@typed/async-data\"\nconst state: Refreshing<number, never> = { _tag: \"Success\", value: 1, progress: { loaded: 0 } }"
      }
    ],
    "sourceSpans": [
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 311,
          "column": 1
        },
        "end": {
          "line": 314,
          "column": 3
        }
      },
      {
        "file": "packages/async-data/src/index.ts",
        "start": {
          "line": 313,
          "column": 3
        },
        "end": {
          "line": 313,
          "column": 31
        }
      }
    ],
    "since": "1.0.0",
    "category": "State models"
  }
}
