[Licensing] Expose getter in the plugin's start contract #194573
Labels
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
technical debt
Improvement of the software architecture and operational architecture
In #194499, we identified a few instances of plugins calling the
refresh()
method as a way to await the license's resolution. The problem is that this method forces the retrieval of the license, causing extra load.To avoid confusion, we can expose a getter that returns a promise that resolves to the license once available.
The text was updated successfully, but these errors were encountered: