registerAsyncEvent
Registers an async event.
Import:
import { registerAsyncEvent } from 'obsidian-dev-utils/obsidian/components/async-events-component';Signature:
function registerAsyncEvent(component: Component, eventRef: AsyncEventRef): voidParameters:
| Parameter | Type | Description |
|---|---|---|
component | Component | The component. |
eventRef | AsyncEventRef | The event reference. |
Returns: void