Skip to content

ClickButtonTimeouts

The waiting budgets a single button click is allowed.

Both are spent inside ONE transport call, so it is their SUM that assertClickBudgetsFitTransportCap bounds.

Import:

import type { ClickButtonTimeouts } from 'obsidian-dev-utils/script-utils/demo-vault-buttons';

Signature:

export interface ClickButtonTimeouts

Properties

PropertyTypeDescription
buttonResultTimeoutInMillisecondsnumberHow long to wait for the clicked button to report a result.
settleTimeoutInMillisecondsnumberHow long to wait for the button itself to mount.

Links to this page: