Sanity Library Reference Docs
Preparing search index...
@sanity/sdk
dashboard
EventTopicDef
Type Alias EventTopicDef<P, R>
Declares a topic that delivers events and an optional reply.
type
EventTopicDef
<
P
,
R
=
never
>
=
{
kind
:
"event"
;
payload
:
P
;
reply
?:
R
;
}
Type Parameters
P
R
=
never
Index
Properties
kind
payload
reply?
Properties
kind
kind
:
"event"
payload
payload
:
P
Optional
reply
reply
?:
R
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
kind
payload
reply
Sanity Library Reference Docs
Loading...
Declares a topic that delivers events and an optional reply.