Sporades SDK API
Preparing search index...
server
MutationHandler
Type Alias MutationHandler<Schema, Args, Result>
MutationHandler
:
(
ctx
:
CapsuleContext
<
Schema
>
,
...
args
:
Args
,
)
=>
MaybePromise
<
Result
>
Handler for a named mutation exposed over the Sporades client transport.
Type Parameters
Schema
extends
SchemaDefinition
=
SchemaDefinition
Args
extends
unknown
[]
=
string
[]
Result
=
unknown
Type Declaration
(
ctx
:
CapsuleContext
<
Schema
>
,
...
args
:
Args
)
:
MaybePromise
<
Result
>
Parameters
ctx
:
CapsuleContext
<
Schema
>
...
args
:
Args
Returns
MaybePromise
<
Result
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Sporades SDK API
Loading...
Handler for a named mutation exposed over the Sporades client transport.