Skip to content

AsyncEventRef

Async event reference.

Import:

import type { AsyncEventRef } from 'obsidian-dev-utils/async-events';

Signature:

export interface AsyncEventRef

Properties

PropertyTypeDescription
asyncEventSourceGenericAsyncEventSourceAn event source.
callbackGenericCallbackA callback to call when the event is triggered.
namestringA name of the event.
thisArgunknownA context passed as this to the callback.

Links to this page: