Skip to content

obsidian/async-with-notice

Provides a utility to execute an asynchronous function with a notice.

InterfaceDescription
RetryWithTimeoutNoticeParamsOptions for retryWithTimeoutNotice.
RunWithTimeoutNoticeParamsOptions for runWithTimeout.
FunctionDescription
retryWithTimeoutNoticeRetries the provided function until it returns true or the timeout is reached and displays a notice if the function times out.
runWithTimeoutNoticeExecutes a function with a timeout and displays a notice if the function times out.