diff options
author | crupest <crupest@outlook.com> | 2020-08-10 16:56:09 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-08-10 16:56:09 +0800 |
commit | 9bd53ad844b66f14080f3a142a419fed1d8bd491 (patch) | |
tree | d2b0380902f2cf4f7ab58f6cd4cec931ffd24dc0 /Timeline/ClientApp/src/app/data/common.ts | |
parent | e1b260e3e04341703944a9c1167c2546ff514fb9 (diff) | |
download | timeline-9bd53ad844b66f14080f3a142a419fed1d8bd491.tar.gz timeline-9bd53ad844b66f14080f3a142a419fed1d8bd491.tar.bz2 timeline-9bd53ad844b66f14080f3a142a419fed1d8bd491.zip |
Do not block when get post data.
Diffstat (limited to 'Timeline/ClientApp/src/app/data/common.ts')
-rw-r--r-- | Timeline/ClientApp/src/app/data/common.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Timeline/ClientApp/src/app/data/common.ts b/Timeline/ClientApp/src/app/data/common.ts index 35934a29..87984e21 100644 --- a/Timeline/ClientApp/src/app/data/common.ts +++ b/Timeline/ClientApp/src/app/data/common.ts @@ -19,3 +19,5 @@ export function throwIfNotNetworkError(e: unknown): void { throw e;
}
}
+
+export type BlobOrStatus = Blob | 'loading' | 'error';
|