Opensearch dashboards.startservicesaccessor
Home > opensearch-dashboards > StartServicesAccessor
StartServicesAccessor type
Allows plugins to get access to APIs available in start inside async handlers. Promise will not resolve until Core and plugin dependencies have completed start. This should only be used inside handlers registered during setup that will only be executed after start lifecycle.
Signature:
export declare type StartServicesAccessor<TPluginsStart extends object = object, TStart = unknown> = () => Promise<[CoreStart, TPluginsStart, TStart]>;
References: CoreStart