Class: ConstantReconnectionPolicy

policies/reconnection~ ConstantReconnectionPolicy

Constructor

new ConstantReconnectionPolicy(delay)

A reconnection policy that waits a constant time between each reconnection attempt.
Parameters:
Name Type Description
delay Number Delay in ms

Methods

newSchedule() → {Object}

A new reconnection schedule that returns the same next delay value
Returns:
An infinite iterator
Type
Object