Refreshing

data class Refreshing<T>(val data: T? = null) : CgsStreamState<T>

A request is in flight.

Parameters

data

the previous value if there is one, null on a first load or after the session changed. Keep rendering it to refresh without flicker.

Constructors

Link copied to clipboard
constructor(data: T? = null)

Properties

Link copied to clipboard
val data: T? = null

Functions

Link copied to clipboard

This state as a Refreshing one, keeping whatever data it holds.