Saxonberg Server API
    Preparing search index...

    Interface SubscribeOptions<T>

    interface SubscribeOptions<T> {
        filter?: (payload: T) => boolean;
        until?: (payload: T) => boolean;
    }

    Type Parameters

    • T
    Index

    Properties

    Properties

    filter?: (payload: T) => boolean

    Pre-dispatch predicate; false skips this listener for the call.

    until?: (payload: T) => boolean

    Post-dispatch predicate; true unsubscribes the listener.