@valkey/valkey-glide
    Preparing search index...
    interface PubSubSubscriptions {
        callback?: (msg: PubSubMsg, context: any) => void;
        channelsAndPatterns: Partial<
            Record<GlideClientConfiguration.PubSubChannelModes, Set<string>>,
        >;
        context?: any;
    }
    Index

    Properties

    callback?: (msg: PubSubMsg, context: any) => void

    Optional callback to accept the incoming messages.

    channelsAndPatterns: Partial<
        Record<GlideClientConfiguration.PubSubChannelModes, Set<string>>,
    >

    Channels and patterns by modes.

    context?: any

    Arbitrary context to pass to the callback.