The entry point to creating and managing new ObjectStore instances.

Constructors

Properties

Methods

Constructors

  • Creates an instance of the Objm that allows you to create and access ObjectStore. Note that if the argument is a NatsConnection, default JetStream Options are used. If you want to set some options, please provide a JetStreamClient instead.

    Parameters

    • nc: NatsConnection | JetStreamClient

    Returns Objm

Properties

js: JetStreamClientImpl

Methods

  • Creates and opens the specified ObjectStore. If the Object already exists, it opens the existing ObjectStore.

    Parameters

    Returns Promise<ObjectStore>

  • Returns a list of ObjectStoreInfo for all streams that are identified as being a ObjectStore (that is having names that have the prefix OBJ_)

    Returns Lister<ObjectStoreStatus>