Class: Targets

Targets()

Utilities for working with `Query` and `Topic` targets.

Constructor

new Targets()

Instantiation not allowed and will throw an error.
Source:

Methods

(static) compose(typenon-null, idsnullable, filtersnullable) → {Target}

Composes a new target for objects of specified type, optionally with specified IDs and filters.
Parameters:
Name Type Attributes Description
type Type a Type URL of target objects
ids Array.<TypedMessage> <nullable>
an array of IDs one of which must be matched by each target object
filters Array.<CompositeFilter> <nullable>
an array of filters target
Source:
Returns:
a newly created target for objects matching the specified filters
Type
Target