Constructor

new

ConstantReconnectionPolicy

(Number delay)

A reconnection policy that waits a constant time between each reconnection attempt.

Parameters:
Name Type Description
delay Number

Delay in ms

Methods

newSchedule

()

A new reconnection schedule that returns the same next delay value

Returns:
Type Description
Object

An infinite iterator