Files
wehub-resource-sync bb087aad19
CI / format (push) Failing after 2s
CI / packaging (push) Failing after 0s
CI / test (push) Failing after 3s
chore: import upstream snapshot with attribution
2026-07-13 11:58:56 +08:00

14 lines
693 B
Dart

/// Status of one file transfer.
/// Both receiver and sender should share the same information.
enum SessionStatus {
waiting, // wait for receiver response (wait for decline / accept)
recipientBusy, // recipient is busy with another request (end of session)
declined, // receiver declined the request (end of session)
tooManyAttempts, // receiver declined the request (end of session)
sending, // files are being sent
finished, // all files sent (end of session)
finishedWithErrors, // finished but some files could not be sent (end of session)
canceledBySender, // cancellation by sender (end of session)
canceledByReceiver, // cancellation by receiver (end of session)
}