toLoading abstract method

AsyncState<S> toLoading()

Returns a new state representing the loading state.

Use this to transition to a loading state from any other state.

Implementation

AsyncState<S> toLoading();