import { type Stream } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";
Methods
info(cached?: boolean, opts?: Partial<StreamInfoRequestOptions>): Promise<StreamInfo>
alternates(): Promise<StreamAlternate[]>
best(): Promise<Stream>
getConsumer(name?: string | Partial<OrderedConsumerOptions>): Promise<Consumer>
getMessage(query: MsgRequest): Promise<StoredMsg>