Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to 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.