Optional__namedParameters: { includeDrafts?: boolean; tag?: string; waitFor?: "function" }OptionalincludeDrafts?: booleanOptionaltag?: stringOptional request tag for the listener. Use to identify the request in logs.
OptionalwaitFor?: "function"Delays events until after a Sanity Function has processed them and called the callback endpoint. When omitted, events are delivered immediately.
Requires
apiVersionto be2021-03-25or later.