registerAsyncEvent
Registers an async event.
Import:
import { registerAsyncEvent } from '@mnaoumov/obsidian-lib/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