{
  "id": "@typed/react/Hooks#AsyncState",
  "canonicalId": "@typed/react#AsyncState",
  "symbol": {
    "id": "@typed/react/Hooks#AsyncState",
    "packageName": "@typed/react",
    "moduleName": "Hooks",
    "exportName": "AsyncState",
    "kind": "interface",
    "signatures": [
      "export interface AsyncState<A, E> extends AsyncDataView<A, E> {\n    readonly refresh: () => void;\n    readonly cancel: () => void;\n}"
    ],
    "summary": "Re-runs the current source, retaining the last value while refreshing.",
    "sections": {
      "Property: refresh": "Re-runs the current source, retaining the last value while refreshing."
    },
    "examples": [],
    "relations": [],
    "source": {
      "file": "packages/react/src/Hooks.ts",
      "line": 17
    },
    "category": "interface"
  },
  "exposure": {
    "recordKind": "declaration",
    "id": "@typed/react/Hooks#AsyncState",
    "packageName": "@typed/react",
    "packageVersion": "1.0.0-beta.13",
    "moduleName": "Hooks",
    "consumerSpecifier": "@typed/react/Hooks",
    "exportName": "AsyncState",
    "qualifiedName": "AsyncState",
    "declarationKey": "declaration:a85c6e2e511d47060d56e5f3",
    "family": "interface",
    "signatures": [
      "export interface AsyncState<A, E> extends AsyncDataView<A, E> {\n    readonly refresh: () => void;\n    readonly cancel: () => void;\n}"
    ],
    "sourceSpans": [
      {
        "file": "packages/react/src/Hooks.ts",
        "start": {
          "line": 17,
          "column": 1
        },
        "end": {
          "line": 21,
          "column": 2
        }
      },
      {
        "file": "packages/react/src/Hooks.ts",
        "start": {
          "line": 20,
          "column": 3
        },
        "end": {
          "line": 20,
          "column": 31
        }
      },
      {
        "file": "packages/react/src/Hooks.ts",
        "start": {
          "line": 19,
          "column": 3
        },
        "end": {
          "line": 19,
          "column": 32
        }
      }
    ],
    "aliases": [
      "@typed/react#AsyncState"
    ],
    "isAlias": false,
    "static": false
  },
  "declaration": {
    "declarationKey": "declaration:a85c6e2e511d47060d56e5f3",
    "name": "AsyncState",
    "family": "interface",
    "facets": [
      {
        "family": "interface",
        "syntaxKind": "InterfaceDeclaration",
        "signatures": [
          "export interface AsyncState<A, E> extends AsyncDataView<A, E> {\n    readonly refresh: () => void;\n    readonly cancel: () => void;\n}"
        ],
        "typeParameters": [
          "A",
          "E"
        ],
        "sourceSpans": [
          {
            "file": "packages/react/src/Hooks.ts",
            "start": {
              "line": 17,
              "column": 1
            },
            "end": {
              "line": 21,
              "column": 2
            }
          }
        ],
        "static": false,
        "readonly": false,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly cancel: () => void;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/react/src/Hooks.ts",
            "start": {
              "line": 20,
              "column": 3
            },
            "end": {
              "line": 20,
              "column": 31
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      },
      {
        "family": "property",
        "syntaxKind": "PropertySignature",
        "signatures": [
          "readonly refresh: () => void;"
        ],
        "typeParameters": [],
        "sourceSpans": [
          {
            "file": "packages/react/src/Hooks.ts",
            "start": {
              "line": 19,
              "column": 3
            },
            "end": {
              "line": 19,
              "column": 32
            }
          }
        ],
        "static": false,
        "readonly": true,
        "optional": false
      }
    ],
    "signatures": [
      "export interface AsyncState<A, E> extends AsyncDataView<A, E> {\n    readonly refresh: () => void;\n    readonly cancel: () => void;\n}"
    ],
    "typeParameters": [
      "A",
      "E"
    ],
    "summary": "Re-runs the current source, retaining the last value while refreshing.",
    "sections": {
      "Property: refresh": "Re-runs the current source, retaining the last value while refreshing."
    },
    "examples": [],
    "sourceSpans": [
      {
        "file": "packages/react/src/Hooks.ts",
        "start": {
          "line": 17,
          "column": 1
        },
        "end": {
          "line": 21,
          "column": 2
        }
      },
      {
        "file": "packages/react/src/Hooks.ts",
        "start": {
          "line": 20,
          "column": 3
        },
        "end": {
          "line": 20,
          "column": 31
        }
      },
      {
        "file": "packages/react/src/Hooks.ts",
        "start": {
          "line": 19,
          "column": 3
        },
        "end": {
          "line": 19,
          "column": 32
        }
      }
    ]
  }
}
