Saxonberg Server API
    Preparing search index...

    Interface Subscription<T>

    interface Subscription<T = unknown> {
        eventName: string;
        lastPayload: T | null;
        unsubscribe(): void;
    }

    Type Parameters

    • T = unknown
    Index

    Properties

    eventName: string
    lastPayload: T | null

    The most recent payload seen by emit, or null if none yet.

    Methods