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:
| Parameter | Type | Description |
|---|---|---|
params | InvokeAsyncAndLogParams | The parameters for the invocation. |
Links to this page: