new ConstantReconnectionPolicy(delay)
A reconnection policy that waits a constant time between each reconnection attempt.
Parameters:
Name | Type | Description |
---|---|---|
delay |
Number | Delay in ms |
- Source:
Methods
getOptions()
Gets an associative array containing the policy options.
- Source:
newSchedule() → {Object}
A new reconnection schedule that returns the same next delay value
- Source:
Returns:
An infinite iterator
- Type
- Object