Mention internal timings deprecations

plugins shouldn't be using these, but since it's not marked as internal, we can't be sure.
This commit is contained in:
Dylan K. Taylor 2024-12-05 15:47:34 +00:00
parent ea068d4907
commit 62e1d87f5e
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -87,6 +87,9 @@ Consider using the `mcpe-protocol` directive in `plugin.yml` as a constraint if
- `public static TimingsHandler::requestPrintTimings() : Promise<list<string>>` - asynchronously collects timing results from all threads and assembles them into a single report
- The following API methods have been deprecated:
- `TimingsHandler::printTimings()` - this function cannot support async timings collection. Use `TimingsHandler::requestPrintTimings()` instead.
- `Timings::getAsyncTaskErrorTimings()` - internal method that is no longer needed
- The following constants have been deprecated:
- `Timings::GROUP_BREAKDOWN` - no longer used
### `pocketmine\utils`
- The following API methods have been added: