SearchQueryHandler type

Note

This API is in Beta and provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

This type will store the SearchQuery and allow other logic to be made inside the handler.

type SearchQueryHandler = (query: SearchQuery) => void