import { type ObjectStore } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";
Methods
Returns the ObjectInfo of the named entry. Or null if the entry doesn't exist.
Returns a list of the entries in the ObjectStore
Returns an object you can use for reading the data from the named stored object or null if the entry doesn't exist.
Adds an object to the store with the specified meta and using the specified ReadableStream to stream the data.
Puts the specified bytes into the store with the specified meta.
Deletes the specified entry from the object store.
Adds a link to another object in the same store or a different one. Note that links of links are rejected. object.
Add a link to another object store
Watch an object store and receive updates of modifications via an iterator.
Seals the object store preventing any further modifications.
Returns the runtime status of the object store.
Update the metadata for an object. If the name is modified, the object is effectively renamed and will only be accessible by its new name.