(api: TuiApi, title: string, task: () => Promise<void>)
| 76 | } |
| 77 | |
| 78 | function runModal(api: TuiApi, title: string, task: () => Promise<void>) { |
| 79 | showStatusDialog(api, title, "DCP", "Loading...") |
| 80 | void task().catch((error) => showError(api, title, error)) |
| 81 | } |
| 82 | |
| 83 | async function setManualMode( |
| 84 | api: TuiApi, |
no test coverage detected