Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
interface StreamSourceInfo
import { type StreamSourceInfo } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";

Information about an upstream stream source in a mirror

Properties

name: string

The name of the Stream being replicated

lag: number

How many messages behind the mirror operation is

active: Nanos

When last the mirror had activity, in nanoseconds. Value will be -1 when there has been no activity.

optional
error: ApiError

A possible error

optional
subject_transforms: SubjectTransformConfig[]

Apply a subject transforms to sourced messages before doing anything else. This feature only supported on 2.10.x and better.