Skip to content

registerAsyncEvent

Registers an async event.

Import:

import { registerAsyncEvent } from '@mnaoumov/obsidian-lib/components/async-events-component';

Signature:

function registerAsyncEvent(component: Component, eventRef: AsyncEventRef): void

Parameters:

Parameter Type Description
component Component The component.
eventRef AsyncEventRef The event reference.

Returns: void