yaschema-ws-api-client
Preparing search index...
WsApiResponseHandler
Type Alias WsApiResponseHandler<RequestCommandsT, ResponseCommandsT, CommandNameT, QueryT>
WsApiResponseHandler
:
(
args
:
{
input
:
ResponseCommandsT
[
CommandNameT
]
[
"valueType"
]
;
output
:
WsApiRequestors
<
RequestCommandsT
>
;
query
:
QueryT
;
ws
:
WebSocket
;
}
,
)
=>
Promise
<
void
>
Type Parameters
RequestCommandsT
extends
AnyCommands
ResponseCommandsT
extends
AnyCommands
CommandNameT
extends
keyof
ResponseCommandsT
&
string
QueryT
extends
AnyQuery
Type declaration
(
args
:
{
input
:
ResponseCommandsT
[
CommandNameT
]
[
"valueType"
]
;
output
:
WsApiRequestors
<
RequestCommandsT
>
;
query
:
QueryT
;
ws
:
WebSocket
;
}
,
)
:
Promise
<
void
>
Parameters
args
:
{
input
:
ResponseCommandsT
[
CommandNameT
]
[
"valueType"
]
;
output
:
WsApiRequestors
<
RequestCommandsT
>
;
query
:
QueryT
;
ws
:
WebSocket
;
}
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
yaschema-ws-api-client
Loading...