State
public enum State
State of the Request, with managed transitions between states set when calling resume(), suspend(), or
cancel() on the Request.
- initialized: Initial state of the
Request. - resumed: Set when
resume()is called. Any tasks created for theRequestwill haveresume()called on them in this state. - suspended: Set when
suspend()is called. Any tasks created for theRequestwill havesuspend()called on them in this state. - cancelled: Set when
cancel()is called. Any tasks created for theRequestwill havecancel()called on them. Unlikeresumedorsuspended, once in thecancelledstate, theRequestcan no longer transition to any other state.
-
Undocumented
Declaration
Swift
case initialized -
Undocumented
Declaration
Swift
case resumed -
Undocumented
Declaration
Swift
case suspended -
Undocumented
Declaration
Swift
case cancelled
View on GitHub
Install in Dash
State Enumeration Reference