Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/natsws/src/mod.ts>Views

WebSocket NATS
Latest
interface Views
import { type Views } from "https://deno.land/x/natsws@v1.29.2/src/mod.ts";

The interface for creating instances of different JetStream materialized views.

Properties

kv: (name: string, opts?: Partial<KvOptions>) => Promise<KV>

Gets or creates a JetStream KV store

os: (name: string, opts?: Partial<ObjectStoreOptions>) => Promise<ObjectStore>