Tighten deprecation warning for plugin lifecycles that return Promises #71925
Labels
Feature:New Platform
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Related to #53268
We should start logging deprecation warnings in development for any plugins that return a Promise from their
setup
orstart
methods (it technically does, it's just undocumented).stop
does not currently support Promises at allWe should also decrease the timeout from 30s to 10s to help nudge plugins away from async lifecycles.
This should be done on both the client and server side.
The text was updated successfully, but these errors were encountered: