Interfaceevent-emitterv0.1.8WaitForOptionsOptions for waitFor. interface WaitForOptions< TArgs extends readonly unknown[] = readonly unknown[] >Member overviewPropertiesfiltersignaltimeoutMsType parametersTArgsThe awaited event's payload tuple. TArgs extends readonly unknown[] = readonly unknown[]PropertiesfilterResolves only on a payload this predicate accepts. filter?: (...args: TArgs) => booleansignalRejects the wait when this signal aborts. signal?: AbortSignaltimeoutMsRejects the wait after this many milliseconds. timeoutMs?: number