object EffectArg
Implicit conversions that are very careful on the return value. If the return value is a parameterless function, it is assumed to be the reactjs "after-effect" callback. Otherwise, the return value is discarded.
- Alphabetic
- By Inheritance
- EffectArg
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def convertEffectCallbackArg[A](arg: () => () => A): Any
Convert a scala EffectCallbackArg to js using a proxy approach.
Convert a scala EffectCallbackArg to js using a proxy approach. Use a general return of A vs unit to be more friendly. Requires 2 scala => js function conversions. Ugh!
- Annotations
- @inline()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def fromThunk[U](f: () => U): EffectArg
No final callback.
No final callback.
- Annotations
- @inline()
- implicit def fromThunkCbA[A](f: () => () => A): EffectArg
Return value from the callback is discarded.
Return value from the callback is discarded.
- Annotations
- @inline()
- implicit def fromThunkCbJS[A](f: () => Function0[A]): EffectArg
Return value form the callback is discarded.
Return value form the callback is discarded.
- Annotations
- @inline()
- implicit def fromThunkJS[U](f: Function0[U]): EffectArg
No final callback.
No final callback.
- Annotations
- @inline()
- To do
Not sure inner definition is needed.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])