Dex TypeScript SDK 1.29.0
Preparing search index...
RPC
Type Alias RPC<Input, Output>
RPC
:
(
context
:
Context
,
input
:
Input
,
)
=>
RPCResult
<
Output
>
|
Promise
<
RPCResult
<
Output
>
>
Describes a typed, possibly asynchronous RPC handler.
Type Parameters
Input
Handler input type.
Output
Handler output type.
Type Declaration
(
context
:
Context
,
input
:
Input
)
:
RPCResult
<
Output
>
|
Promise
<
RPCResult
<
Output
>
>
Parameters
context
:
Context
input
:
Input
Returns
RPCResult
<
Output
>
|
Promise
<
RPCResult
<
Output
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Dex TypeScript SDK 1.29.0
Loading...
Describes a typed, possibly asynchronous RPC handler.