app_wait_for_dialog
Block until a dialog appears and report which one, so callers can wait for a command-triggered dialog instead of using fixed sleeps.
Instructions
Block until a dialog appears, and report which one.
A COMMAND THAT RAISES A DIALOG RETURNS BEFORE THE DIALOG EXISTS. A caller that acted and then looked found nothing and concluded none was coming; the alternative was a fixed sleep long enough to be safe, which is the pattern this layer spent the day removing everywhere else.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | ||
| timeout | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||