Class: Interval

Iroha. Interval

new Interval()

Source:

Extends

Methods

clear() → {Iroha.Timeout}

clear timer.
Inherited From:
Source:
Returns:
this instance
Type
Iroha.Timeout

clearTimer() → {Iroha.Timeout}

Inherited From:
Deprecated:
  • use #clear method instead of this method.
    Source:
    Returns:
    this instance
    Type
    Iroha.Timeout

    init(func, ms, aThisObject, immediate) → {Iroha.Timeout}

    initialize.
    Parameters:
    Name Type Argument Default Description
    func Function callback function
    ms number <optional>
    0 milliseconds to timeout
    aThisObject Object <optional>
    the object that will be a global object ('this') in the func
    immediate boolean <optional>
    if true, do immediate callback at start
    Inherited From:
    Source:
    Returns:
    this instance
    Type
    Iroha.Timeout