API Docs for: 0.2.2
Show:

R.Async Class

Defined in: src\R.Async.js:11

Utilities for dealing with asynchronous callbacks in components.

Methods

_DeferToNextAnimationFrame

(
  • UNKNOWN
)
Function private

Defined in src\R.Async.js:62

Parameters:

  • UNKNOWN Function

Returns:

Function:

_DeferToNextImmediate

(
  • UNKNOWN
)
Function private

Defined in src\R.Async.js:45

Parameters:

  • UNKNOWN Function

Returns:

Function:

_DeferToTimeout

(
  • UNKNOWN
)
Function(Function): Function private

Defined in src\R.Async.js:79

Parameters:

  • UNKNOWN Number

Returns:

Function(Function): Function:

Deferred

(
  • UNKNOWN
)
Function public

Defined in src\R.Async.js:102

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

(
  • UNKNOWN
)
Function public

Defined in src\R.Async.js:130

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

(
  • UNKNOWN
)
Function public

Defined in src\R.Async.js:119

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

(
  • UNKNOWN
)
Function public

Defined in src\R.Async.js:25

Decorates a method so that upon invocation, it is only actually invoked if the component has not unmounted.

Parameters:

  • UNKNOWN Function

Returns:

Function: