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 theRequest
will haveresume()
called on them in this state. - suspended: Set when
suspend()
is called. Any tasks created for theRequest
will havesuspend()
called on them in this state. - cancelled: Set when
cancel()
is called. Any tasks created for theRequest
will havecancel()
called on them. Unlikeresumed
orsuspended
, once in thecancelled
state, theRequest
can 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