Skip to content

async-with-notice

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

Interface Description
RetryWithTimeoutNoticeParams Options for retryWithTimeoutNotice.
RunWithTimeoutNoticeParams Options for runWithTimeout.
Function Description
retryWithTimeoutNotice Retries the provided function until it returns true or the timeout is reached and displays a notice if the function times out.
runWithTimeoutNotice Executes a function with a timeout and displays a notice if the function times out.