Appearance
Function: showRequestUserAction()
ts
function showRequestUserAction(ctx: Context, options: ShowRequestUserActionOptions): Promise<any>;Defined in: src/message/showRequestUserAction.tsx:38
Experimental
Parameters
| Parameter | Type | Description |
|---|---|---|
ctx | Context | Context to render to. |
options | ShowRequestUserActionOptions | Configuration for the dialog. |
Returns
Promise<any>
Deprecated
Use showUI.requestUserAction instead.
Show a message and wait for a condition to resolve before proceeding.
Render a dialog with a text message. Once the user completes the required action and the successCondition callback resolves, the helper finishes. If only one button is passed, it stays disabled to signal the UI is waiting.