property NatsOptions.streamSubjects
Since 0.5.0

Subjects the broker may create the stream with when it is absent (X28-2). No default: with the stream absent and this unset, connect() throws JetStreamStreamError naming both remedies. See NatsMessagingOptions.streamSubjects for the full behavior.

Type

readonly string[]

Usage

import { type NatsOptions } from "messaging-plugin/src/index.ts";