TaskState

abstract class TaskState<T>(source)

The state of a StorageTask as emitted by taskState.

Inheritors

Types

Link copied to clipboard
class InProgress<T>(val snapshot: T) : TaskState<T>

The task is running and made progress; snapshot is its current state.

Link copied to clipboard
class Paused<T>(val snapshot: T) : TaskState<T>

The task is paused; snapshot is its state at the pause.