Interface SubscribePrefixFilter<ME>

Subscribe to messages under a name prefix that passes a filter.

interface SubscribePrefixFilter<ME> {
    filter: ((entry) => boolean);
    prefix: Name;
}

Type Parameters

Properties

Properties

filter: ((entry) => boolean)

Filter function to determine whether to retrieve a message based on MappingEntry.

Type declaration

    • (entry): boolean
    • Parameters

      Returns boolean

See

Options.mustFilterByMapping for limitations on when this may not be invoked.

prefix: Name

Topic prefix.