Interface: GtcDialogView<Input, Output>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Dialog/GtcDialogView.tsx:4
A dialog view which accepts requests for values.
Type Parameters
Type Parameter |
---|
Input |
Output |
Methods
request()
request(
input
):Promise
<GtcDialogResult
<Output
>>
Defined in: workingtitle-instruments-g3000/html_ui/GTC/Dialog/GtcDialogView.tsx:11
Requests a value from this dialog.
Parameters
Parameter | Type | Description |
---|---|---|
input | Input | Input parameters defining the request. |
Returns
Promise
<GtcDialogResult
<Output
>>
A Promise which is fulfilled with the result of the request. The result will indicate whether the request was cancelled, and if the request was not cancelled, it will also contain the requested value.