Skip to content

Commit

Permalink
Update dev_docs/kibana_platform_plugin_intro.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Brandon Kobel <[email protected]>
  • Loading branch information
stacey-gammon and kobelb authored Jan 14, 2021
1 parent ce2db93 commit 0964dcd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dev_docs/kibana_platform_plugin_intro.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ considerations related to how plugins integrate with core APIs and APIs exposed
The various independent domains that make up core are represented by a series of services. Those services expose public interfaces that are provided to all plugins.
Services expose different features at different parts of their lifecycle. We describe the lifecycle of core services and plugins with specifically-named functions on the service definition.

Kibana has three lifecycles: setup, start, and stop. Each plugin’s setup functions is called sequentially while Kibana is setting up on the server or when it is being loaded in the browser. The start functions are called sequentially after setup has been completed for all plugins. The stop functions are called sequentially while Kibana is gracefully shutting down the server or when the browser tab or window is being closed.
Kibana has three lifecycles: setup, start, and stop. Each plugin’s setup function is called sequentially while Kibana is setting up on the server or when it is being loaded in the browser. The start functions are called sequentially after setup has been completed for all plugins. The stop functions are called sequentially while Kibana is gracefully shutting down the server or when the browser tab or window is being closed.

The table below explains how each lifecycle relates to the state of Kibana.

Expand Down Expand Up @@ -231,4 +231,3 @@ export class AnotherPlugin {
[2] These manually constructed types should then be used to specify the type of the second argument to the plugin.

[3] Notice that the type for the setup and start lifecycles are different. Plugin lifecycle functions can only access the APIs that are exposed during that lifecycle.

0 comments on commit 0964dcd

Please sign in to comment.