mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-24 16:17:15 +01:00
692 B
692 B
Set busy
Show a "Do not disconnect" dialog instead of the standard homescreen.
const result = await TrezorConnect.setBusy(params);
:note: Supported only by T2T1 with Firmware 2.5.3 or higher!
Params
expiry_ms— optionalnumberThe time in milliseconds after which the dialog will automatically disappear. Overrides any previously set expiry. If not set, then the dialog is hidden.
Result
{
success: true,
payload: {
message: 'Success',
}
}
Error
{
success: false,
payload: {
error: string // error message
}
}