@meld-ts/core
Preparing search index...
async
StatefulRpcOptions
Type Alias StatefulRpcOptions<Result, Params>
构造选项
type
StatefulRpcOptions
<
Result
,
Params
>
=
{
idPrefix
?:
string
;
timeout
?:
number
;
events
?:
EventsCallbacks
<
StatefulRpcEvents
<
Result
,
Params
>
>
;
}
Type Parameters
Result
Params
Index
Properties
id
Prefix?
timeout?
events?
Properties
Optional
id
Prefix
idPrefix
?:
string
实例 id 前缀,默认
"stateful-rpc"
Optional
timeout
timeout
?:
number
默认超时毫秒数,默认 30000。必须 > 0,否则回退到 30000
Optional
events
events
?:
EventsCallbacks
<
StatefulRpcEvents
<
Result
,
Params
>
>
事件回调
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
id
Prefix
timeout
events
@meld-ts/core
Loading...
构造选项