Back to Ioredis

Class SentinelIterator

docs/classes/SentinelIterator.html

6.0.01.5 KB
Original Source

Class SentinelIterator

Implements

Index

Constructors

constructor

Methods

addnextresettoString

Constructors

constructor

Parameters

Returns SentinelIterator

Methods

add

  • add(sentinel): boolean

Parameters

Returns boolean

next

Returns { done: boolean; value: Partial<SentinelAddress>; }

done: boolean
value: Partial<SentinelAddress>

reset

  • reset(moveCurrentEndpointToFirst): void

Parameters

  • moveCurrentEndpointToFirst: boolean

Returns void

toString

  • toString(): string

Returns string

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

constructoraddnextresettoString