DialogApiDialog.result()
Home > @backstage/frontend-plugin-api > DialogApiDialog > result
Wait until the dialog is closed and return the result.
Signature:
result(): Promise<TResult>;
Returns:
Promise<TResult>
Remarks
If the dialog is a modal dialog a result will always be returned. If it's a regular dialog then the result may be undefined.