new (require("legio-async/interval"))(fn, time, wrapopt)
Parameters:
| Name | Type | Attributes | Default | Description | 
|---|---|---|---|---|
| fn | function | If bound, the first arguments contains the count of executions. | ||
| time | Number | |||
| wrap | Boolean | <optional> | true | Indicates if the given function should be bound to the interval object. | 
- Source:
- Source:
Methods
- 
    (static) start(time, immediatelyopt) → {Promise}
- 
    
    
    
    
        Parameters:Name Type Attributes Default Description timeNumber immediatelyBoolean <optional> 
 false - Source:
 Returns:- Type
- Promise
 
- 
    activate(immediatelyopt, timeopt)
- 
    
    
    
    
        Parameters:Name Type Attributes Default Description immediatelyBoolean <optional> 
 false timeNumber <optional> 
 this.time - Source:
 
- 
    suspend()
- 
    
    Clears the interval.- Source: