kibana/docs/development/plugins/data/public/kibana-plugin-plugins-data-public.searchsource.onrequeststart.md
Liza Katz 28d0cf4485
Generate docs from data plugin (#56955)
* Add doc building for data plugin

* Added data server md file

* index file for suggestion component

* Clear out internal imports from public API

* Remove FunctionalComponent usage

* comment out working docs

* Added fixes following @octogonz feedback

* new docs

* Clean up

* Clean up 2

* fix jest

* rename docs script file

* update tasks

* tasks

* update docs
2020-03-10 11:34:06 +02:00

804 B

Home > kibana-plugin-plugins-data-public > SearchSource > onRequestStart

SearchSource.onRequestStart() method

Add a handler that will be notified whenever requests start

Signature:

onRequestStart(handler: (searchSource: ISearchSource, options?: FetchOptions) => Promise<unknown>): void;

Parameters

Parameter Type Description
handler (searchSource: ISearchSource, options?: FetchOptions) => Promise<unknown>

Returns:

void