EventInterceptorContextData
EventInterceptorContextData
| Property | Type | Value | Description |
|---|---|---|---|
| autoReset | boolean | N/A | If the collector should automatically reset the timer when a button is clicked. |
| filter | ( args: ClientEvents[E] ) => Awaitable<boolean> | N/A | The filter to use for the collector. |
| once | boolean | N/A | Whether the collector should run only once. |
| onEnd | ( reason: string ) => Awaitable<void> | N/A | The handler to run when the collector ends. |
| onError | EventInterceptorErrorHandler | N/A | The handler to run upon an error. |
| time | number | N/A | The duration (in ms) that the collector should run for. |