registerPlatformContextCallbacks()
Home > @gooddata/sdk-ui-pluggable-host > registerPlatformContextCallbacks
registerPlatformContextCallbacks() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Registers the host's platform-context lifecycle callbacks. Must be called once at host boot before <Root> is rendered so the very first load can report telemetry / errors back to the host application.
Signature:
export declare function registerPlatformContextCallbacks(callbacks: ILoadPlatformContextCallbacks): void;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
callbacks |
Returns:
void