Skip to content

invokeAsyncAndLog

Invokes a function and logs the start, end, and duration of the invocation.

Import:

import { invokeAsyncAndLog } from 'obsidian-dev-utils/obsidian/logger';

Signature:

function invokeAsyncAndLog(params: InvokeAsyncAndLogParams): Promise<void>

Parameters:

ParameterTypeDescription
paramsInvokeAsyncAndLogParamsThe parameters for the invocation.

Returns: Promise<void>


Links to this page: