Refreshable

abstract class Refreshable[F[_], A]
Companion:
object
Source:
Refreshable.scala
class Object
trait Matchable
class Any

Value members

Abstract methods

def cancel: F[Boolean]

Cancel refreshing

Cancel refreshing

Returns:

boolean status of whether refreshing was stopped (false if it is already stopped)

Source:
Refreshable.scala
def get: F[CachedValue[A]]

Get the value of A wrapped in a status

Get the value of A wrapped in a status

Source:
Refreshable.scala
def restart: F[Boolean]

Restart refreshing

Restart refreshing

Returns:

boolean status of whether refreshing was restarted (false if is already started)

Source:
Refreshable.scala

Subscribe to discrete updates of the underlying value

Subscribe to discrete updates of the underlying value

Source:
Refreshable.scala

Concrete methods

def map[B](f: A => B): Refreshable[F, B]
def mapK[G[_] : Functor](fk: FunctionK[F, G]): Refreshable[G, A]
def value: F[A]

Get the unwrapped value of A

Get the unwrapped value of A

Source:
Refreshable.scala