Documentation
Preparing search index...
rivetkit
client/mod
ActorActionFunction
Type Alias ActorActionFunction<Args, Response>
ActorActionFunction
:
(
...
args
:
Args
extends
[
unknown
,
...
(
infer
Rest
)
]
?
Rest
:
Args
,
)
=>
Promise
<
Response
>
Action function returned by Actor connections and handles.
Type Parameters
Args
extends
unknown
[]
=
unknown
[]
Response
=
unknown
Type Declaration
(
...
args
:
Args
extends
[
unknown
,
...
(
infer
Rest
)
]
?
Rest
:
Args
,
)
:
Promise
<
Response
>
Parameters
...
args
:
Args
extends
[
unknown
,
...
(
infer
Rest
)
]
?
Rest
:
Args
Arguments for the action function.
Returns
Promise
<
Response
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Documentation
Loading...
Action function returned by Actor connections and handles.