Properties
name
name: string
Methods
alternates
- alternates(): Promise<StreamAlternate[]>
best
- best(): Promise<Stream>
Returns Promise<Stream>
deleteMessage
- deleteMessage(seq, erase?): Promise<boolean>
Parameters
- seq: number
Optional
erase: boolean
Returns Promise<boolean>
getConsumer
- getConsumer(name?): Promise<Consumer>
Returns Promise<Consumer>
getConsumerFromInfo
- getConsumerFromInfo(ci): Consumer
getMessage
- getMessage(query): Promise<StoredMsg>
info
- info(cached?, opts?): Promise<StreamInfo>