feat(transcription): decouple @mention display text from person search (#380) #629
@@ -1,9 +1,9 @@
|
|||||||
/**
|
/**
|
||||||
* Returns a debounced version of fn that delays invocation until after
|
* Returns a debounced version of fn that delays invocation until after
|
||||||
* `delay` ms have elapsed since the last call. The returned function
|
* `delay` ms have elapsed since the last call. The returned function
|
||||||
* exposes a `cancel()` method that clears any pending invocation —
|
* exposes a `cancel()` method that DROPS (does not flush) the pending
|
||||||
* essential when the host context (a destroyed component, an unmounted
|
* trailing invocation — essential when the host context (a destroyed
|
||||||
* editor) shouldn't fire the trailing call.
|
* component, an unmounted editor) shouldn't fire the trailing call.
|
||||||
*/
|
*/
|
||||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||||
export function debounce<T extends (...args: any[]) => void>(
|
export function debounce<T extends (...args: any[]) => void>(
|
||||||
|
|||||||
Reference in New Issue
Block a user