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

getOptions

()

Gets an associative array containing the policy options.

newSchedule

()

A new reconnection schedule that returns the same next delay value

Returns:
Type Description
Object

An infinite iterator