* Subscribe to a collection event
(
event: T,
callback: CollectionEventHandler<T>,
)
| 946 | * Subscribe to a collection event |
| 947 | */ |
| 948 | public on<T extends keyof AllCollectionEvents>( |
| 949 | event: T, |
| 950 | callback: CollectionEventHandler<T>, |
| 951 | ) { |
| 952 | return this._events.on(event, callback) |
| 953 | } |
| 954 | |
| 955 | /** |
| 956 | * Subscribe to a collection event once |
no outgoing calls
no test coverage detected