Debouncer<T, V>
Official
A debouncer wrapper for a function.
Import:
import type { Debouncer } from 'obsidian';Signature:
export interface Debouncer<T extends unknown[], V>Methods
| Method | Returns | Description | |
|---|---|---|---|
| cancel() | this | Cancel any pending debounced function call. | |
| run() | V | void | If there is any pending function call, clear the timer and call the function immediately. |
Links to this page:
- AppMenuBarManager
- AudioRecorderPlugin
- BacklinkPlugin
- BasesController
- BasesPlugin
- BasesSearchMenu
- BookmarksPlugin
- BookmarksPluginInstance
- CanvasPlugin
- CanvasPluginInstance
- CanvasViewCanvas
- CommandPalettePlugin
- CustomCSS
- DailyNotesPlugin
- debounce
- EditorStatusPlugin
- FileExplorerPlugin
- FileExplorerView
- FileRecoveryPlugin
- FileSystemAdapter
- FootnotesPlugin
- FrameDom
- GlobalSearchPlugin
- GraphPlugin
- HotkeyManager
- InternalPlugin
- InternalPlugins
- MarkdownImporterPlugin
- MetadataCache
- MetadataTypeManager
- MobileTabSwitcher
- NoteComposerPlugin
- OutgoingLinkPlugin
- OutlinePlugin
- PagePreviewPlugin
- Plugin
- Plugins
- PropertiesPlugin
- PublishPlugin
- QueryController
- RandomNotePlugin
- ResultDom
- SecretStorage
- SlashCommandPlugin
- SlidesPlugin
- SwitcherPlugin
- SyncPlugin
- TagPanePlugin
- TemplatesPlugin
- Vault
- WebviewerPlugin
- WordCountPlugin
- Workspace
- WorkspacesPlugin
- ZkPrefixerPlugin