Class

diode.react.ReactPot

potWithReact

Related Doc: package ReactPot

Permalink

implicit final class potWithReact[A] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. potWithReact
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new potWithReact(pot: Pot[A])

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  6. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  7. val pot: Pot[A]

    Permalink
  8. def render(f: (A) ⇒ ReactNode): ReactNode

    Permalink

    Render non-empty (ready or stale) content

    Render non-empty (ready or stale) content

    f

    Transforms Pot value into a ReactNode

  9. def renderEmpty(f: ⇒ ReactNode): ReactNode

    Permalink

    Render when Pot is empty

    Render when Pot is empty

    f

    Returns a ReactNode

  10. def renderFailed(f: (Throwable) ⇒ ReactNode): ReactNode

    Permalink

    Render when Pot has failed

    Render when Pot has failed

    f

    Transforms an exception into a ReactNode

  11. def renderPending(b: (Int) ⇒ Boolean, f: (Int) ⇒ ReactNode): ReactNode

    Permalink

    Render when Pot is pending with a filter on duration

    Render when Pot is pending with a filter on duration

    b

    Filter based on duration value

    f

    Transforms duration time into a ReactNode

  12. def renderPending(f: (Int) ⇒ ReactNode): ReactNode

    Permalink

    Render when Pot is pending

    Render when Pot is pending

    f

    Transforms duration time into a ReactNode

  13. def renderReady(f: (A) ⇒ ReactNode): ReactNode

    Permalink

    Render content in Ready state, not including stale states

    Render content in Ready state, not including stale states

    f

    Transforms Pot value into a ReactNode

  14. def renderStale(f: (A) ⇒ ReactNode): ReactNode

    Permalink

    Render stale content (PendingStale or FailedStale)

    Render stale content (PendingStale or FailedStale)

    f

    Transforms Pot value into a ReactNode

  15. def toString(): String

    Permalink
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped