Skip to main content
Version: Next

EventInterceptorContextData

EventInterceptorContextData

PropertyTypeValueDescription
autoResetbooleanN/AIf the collector should automatically reset the timer when a button is clicked.
filter( args: ClientEvents[E] ) => Awaitable<boolean>N/AThe filter to use for the collector.
oncebooleanN/AWhether the collector should run only once.
onEnd( reason: string ) => Awaitable<void>N/AThe handler to run when the collector ends.
onErrorEventInterceptorErrorHandlerN/AThe handler to run upon an error.
timenumberN/AThe duration (in ms) that the collector should run for.