| // Copyright 2021 The Fuchsia Authors. All rights reserved. | |
| // Use of this source code is governed by a BSD-style license that can be | |
| // found in the LICENSE file. | |
| library fuchsia.component.decl; | |
| /// The maximum number of EventSubscriptions in an EventStream. | |
| const MAX_NUM_EVENT_STREAM_SUBSCRIPTIONS uint64 = 100; | |
| /// Indicates the event name to subscribe to with a given event mode. | |
| type EventSubscription = table { | |
| /// (Required) The event names to subscribe to. | |
| 1: event_name name; | |
| }; |