State

Entries

Link copied to clipboard

The initial state.

Link copied to clipboard

Point of no return where the job has been de-queued and is being executed. Cancellation will defer to the job's ExecutionPolicy. The next state transition will be to either Success or Error.

Link copied to clipboard

If the job completed by cancellation via cancel.

Link copied to clipboard

If the job completed successfully via onCompletion.

Link copied to clipboard

If the job completed exceptionally via onError.

Properties

Link copied to clipboard
val entries: EnumEntries<EnqueuedJob.State>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): EnqueuedJob.State

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.