Skip to content

Commit 9eb2662

Browse files
committed
Update API reference with information on how status changes
1 parent ea9366a commit 9eb2662

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,4 +104,6 @@ dist
104104
.tern-port
105105

106106
todo
107-
.vscode
107+
.vscode
108+
109+
excalidraw

assets/how-status-changes.png

120 KB
Loading

docs/api-reference.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ status: 'pending' | 'uploading' | 'pausing' | 'paused' | 'aborted' | 'complete'
3939

4040
The status of the uploader
4141

42+
Reference: [How status changes](#how-status-changes)
43+
4244
#### __bytesUploaded__ - `Accessor`
4345

4446
```ts
@@ -289,4 +291,10 @@ interface ChunkFormData {
289291
}
290292
```
291293

292-
The form data that is sent with each chunk. This includes the chunk blob, the offset, the length, and other information.
294+
The form data that is sent with each chunk. This includes the chunk blob, the offset, the length, and other information.
295+
296+
# Others
297+
298+
## How [status](#status---accessor) changes
299+
300+
![How status changes](../assets/how-status-changes.png)

0 commit comments

Comments
 (0)