Object/Class

japgolly.scalajs.react

CallbackTo

Related Docs: class CallbackTo | package react

Permalink

object CallbackTo

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CallbackTo
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. final class ReactExt_CallbackToFuture[A] extends AnyVal

    Permalink

Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[A](f: ⇒ A): CallbackTo[A]

    Permalink
    Annotations
    @inline()
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def byName[A](f: ⇒ CallbackTo[A]): CallbackTo[A]

    Permalink

    Callback that is recreated each time it is used.

    Callback that is recreated each time it is used.

    https://en.wikipedia.org/wiki/Evaluation_strategy#Call_by_name

    Annotations
    @inline()
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def future[A](f: ⇒ Future[CallbackTo[A]])(implicit ec: ExecutionContext): CallbackTo[Future[A]]

    Permalink

    Wraps a Future so that it is repeatable, and so that its inner callback is run when the future completes.

    Wraps a Future so that it is repeatable, and so that its inner callback is run when the future completes.

    WARNING: Futures are scheduled to run as soon as they're created. Ensure that the argument you provide creates a new Future; don't reference an existing one.

  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def lazily[A](f: ⇒ CallbackTo[A]): CallbackTo[A]

    Permalink

    Callback that isn't created until the first time it is used, after which it is reused.

  16. def lift[A](f: () ⇒ A): CallbackTo[A]

    Permalink
    Annotations
    @inline()
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def pure[A](a: A): CallbackTo[A]

    Permalink
    Annotations
    @inline()
  21. def sequence[T[X] <: TraversableOnce[X], A](tca: ⇒ T[CallbackTo[A]])(implicit cbf: CanBuildFrom[T[CallbackTo[A]], A, T[A]]): CallbackTo[T[A]]

    Permalink
    Annotations
    @inline()
  22. def sequenceO[A](oca: ⇒ Option[CallbackTo[A]]): CallbackTo[Option[A]]

    Permalink
    Annotations
    @inline()
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def tailrec[A, B](a: A)(f: (A) ⇒ CallbackTo[Either[A, B]]): CallbackTo[B]

    Permalink

    Tail-recursive callback.

    Tail-recursive callback. Uses constant stack space.

    Based on Phil Freeman's work on stack safety in PureScript, described in Stack Safety for Free.

  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. def traverse[T[X] <: TraversableOnce[X], A, B](ta: ⇒ T[A])(f: (A) ⇒ CallbackTo[B])(implicit cbf: CanBuildFrom[T[A], B, T[B]]): CallbackTo[T[B]]

    Permalink
  27. def traverseO[A, B](oa: ⇒ Option[A])(f: (A) ⇒ CallbackTo[B]): CallbackTo[Option[B]]

    Permalink
  28. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def TODO[A](result: ⇒ A, reason: ⇒ String): CallbackTo[A]

    Permalink

    Serves as a temporary placeholder for a callback until you supply a real implementation.

    Serves as a temporary placeholder for a callback until you supply a real implementation.

    Unlike ??? this doesn't crash, it just prints a warning to the console.

    Also it's not really deprecated; that's just so you get a compiler warning as a reminder.

    Annotations
    @deprecated
    Deprecated

    (Since version not really deprecated)

  2. def TODO[A](result: ⇒ A): CallbackTo[A]

    Permalink

    Serves as a temporary placeholder for a callback until you supply a real implementation.

    Serves as a temporary placeholder for a callback until you supply a real implementation.

    Unlike ??? this doesn't crash, it just prints a warning to the console.

    Also it's not really deprecated; that's just so you get a compiler warning as a reminder.

    Annotations
    @deprecated
    Deprecated

    (Since version not really deprecated)

Inherited from AnyRef

Inherited from Any

Ungrouped