R.Async Class
Utilities for dealing with asynchronous callbacks in components.
Item Index
Methods
_DeferToNextAnimationFrame
(
Function
private
-
UNKNOWN
Parameters:
-
UNKNOWN
Function
Returns:
Function:
_DeferToNextImmediate
(
Function
private
-
UNKNOWN
Parameters:
-
UNKNOWN
Function
Returns:
Function:
_DeferToTimeout
(
Function(Function): Function
private
-
UNKNOWN
Parameters:
-
UNKNOWN
Number
Returns:
Function(Function): Function:
Deferred
(
Function
public
-
UNKNOWN
Decorates a method so that upon invocation, it is actually invoked after a timeout and only the component has not unmounted. If no timeout is provided, then it will defer to setImmediate.
Parameters:
-
UNKNOWN
Function
Returns:
Function:
DeferredAnimationFrame
(
Function
public
-
UNKNOWN
Decorates a method so that upon invocation, it is actually invoked upon the next animation frame and only the component has not unmounted.
Parameters:
-
UNKNOWN
Function
Returns:
Function:
DeferredImmediate
(
Function
public
-
UNKNOWN
Decorates a method so that upon invocation, it is actually invoked after deferral and only the component has not unmounted.
Parameters:
-
UNKNOWN
Function
Returns:
Function:
IfMounted
(
Function
public
-
UNKNOWN
Decorates a method so that upon invocation, it is only actually invoked if the component has not unmounted.
Parameters:
-
UNKNOWN
Function
Returns:
Function: