@resonatehq/sdk
Preparing search index...
ResonateFunc
Interface ResonateFunc<F>
interface
ResonateFunc
<
F
extends
Func
>
{
beginRpc
:
(
id
:
string
,
...
args
:
[
...
Params
<
F
>
[]
,
Options
?
]
,
)
=>
Promise
<
ResonateHandle
<
Return
<
F
>
>
>
;
beginRun
:
(
id
:
string
,
...
args
:
[
...
Params
<
F
>
[]
,
Options
?
]
,
)
=>
Promise
<
ResonateHandle
<
Return
<
F
>
>
>
;
options
:
(
opts
?:
Partial
<
Options
>
)
=>
Options
;
rpc
:
(
id
:
string
,
...
args
:
[
...
Params
<
F
>
[]
,
Options
?
]
,
)
=>
Promise
<
Return
<
F
>
>
;
run
:
(
id
:
string
,
...
args
:
[
...
Params
<
F
>
[]
,
Options
?
]
,
)
=>
Promise
<
Return
<
F
>
>
;
}
Type Parameters
F
extends
Func
Index
Properties
begin
Rpc
begin
Run
options
rpc
run
Properties
begin
Rpc
beginRpc
:
(
id
:
string
,
...
args
:
[
...
Params
<
F
>
[]
,
Options
?
]
,
)
=>
Promise
<
ResonateHandle
<
Return
<
F
>
>
>
begin
Run
beginRun
:
(
id
:
string
,
...
args
:
[
...
Params
<
F
>
[]
,
Options
?
]
,
)
=>
Promise
<
ResonateHandle
<
Return
<
F
>
>
>
options
options
:
(
opts
?:
Partial
<
Options
>
)
=>
Options
rpc
rpc
:
(
id
:
string
,
...
args
:
[
...
Params
<
F
>
[]
,
Options
?
]
)
=>
Promise
<
Return
<
F
>
>
run
run
:
(
id
:
string
,
...
args
:
[
...
Params
<
F
>
[]
,
Options
?
]
)
=>
Promise
<
Return
<
F
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
begin
Rpc
begin
Run
options
rpc
run
@resonatehq/sdk
Loading...