fix(session): distinguish idle reasons for completion and abort
This commit is contained in:
parent
a1b06d63c9
commit
8084f9dfd8
7 changed files with 43 additions and 13 deletions
|
|
@ -453,6 +453,7 @@ export type EventPermissionReplied = {
|
|||
export type SessionStatus =
|
||||
| {
|
||||
type: "idle"
|
||||
reason?: "completed" | "aborted" | "error"
|
||||
}
|
||||
| {
|
||||
type: "retry"
|
||||
|
|
|
|||
|
|
@ -581,6 +581,7 @@ export type EventPermissionReplied = {
|
|||
export type SessionStatus =
|
||||
| {
|
||||
type: "idle"
|
||||
reason?: "completed" | "aborted" | "error"
|
||||
}
|
||||
| {
|
||||
type: "retry"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue