Subscribe to events that match the names and identifiers. The subscription continues until the context is canceled. Events matching _any_ of the names or identifiers will get sent to the handler. The handler must be non-blocking.
(ctx context.Context, names []string, identifiers []*ttnpb.EntityIdentifiers, hdl Handler)
| 39 | // Events matching _any_ of the names or identifiers will get sent to the handler. |
| 40 | // The handler must be non-blocking. |
| 41 | Subscribe(ctx context.Context, names []string, identifiers []*ttnpb.EntityIdentifiers, hdl Handler) error |
| 42 | } |
| 43 | |
| 44 | // Subscription is the interface for PubSub subscriptions. |
no outgoing calls