The callback function to execute.
OptionalexpireAn optional callback function to determine if the prompt has expired and should be removed. Expired prompts are removed upon the next UI mode change without executing their callback.
The UIMode to wait for.
The name of the Phase during which to execute the callback.
If
true, restricts the prompt to only activate when the currentAwaitableUiHandleris waiting for input.