Tentative

io.github.nafg.scalajs.react.util.partialrenderer.Tentative
See theTentative companion object
sealed trait Tentative[+P, +F]

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Full[F]
class Partial[P]

Members list

Value members

Abstract methods

def error: Option[String]
def fold[A](onPartial: P => A, onFull: F => A): A
def mapFull[F1 >: F, F2](f: F1 => F2): Tentative[P, F2]
def mapPartial[P1 >: P, P2](f: P1 => P2): Tentative[P2, F]
def partialValue[P1 >: P, F1 >: F](implicit partialityType: PartialityType[P1, F1]): P1