swarpc - v0.19.0
Source code
Report a bug
Suggest an idea
Preparing search index...
ClientMethodCallable
Type Alias ClientMethodCallable<P>
ClientMethodCallable
:
(
input
:
Schema.InferInput
<
P
[
"input"
]
>
,
onProgress
?:
(
progress
:
Schema.InferOutput
<
P
[
"progress"
]
>
)
=>
void
,
)
=>
Promise
<
Schema.InferOutput
<
P
[
"success"
]
>
>
The callable function signature for a client method
Type Parameters
P
extends
Procedure
<
Schema
,
Schema
,
Schema
>
Type Declaration
(
input
:
Schema.InferInput
<
P
[
"input"
]
>
,
onProgress
?:
(
progress
:
Schema.InferOutput
<
P
[
"progress"
]
>
)
=>
void
,
)
:
Promise
<
Schema.InferOutput
<
P
[
"success"
]
>
>
Parameters
input
:
Schema.InferInput
<
P
[
"input"
]
>
Optional
onProgress
:
(
progress
:
Schema.InferOutput
<
P
[
"progress"
]
>
)
=>
void
Returns
Promise
<
Schema.InferOutput
<
P
[
"success"
]
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Source code
Report a bug
Suggest an idea
swarpc - v0.19.0
Loading...
The callable function signature for a client method