Skip to content

Extract GeneratorExecutor system from World, v2 #6682

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: minor-next
Choose a base branch
from

Conversation

dktapps
Copy link
Member

@dktapps dktapps commented Apr 30, 2025

Net result is basically the same as #6668, but with way less complexity for the GeneratorExecutor side.

dktapps added 6 commits April 30, 2025 18:27
this is a greatly simplified alternative to #6668.

I realized we probably don't actually want to let the executor decide how promises
are managed, since the system is built to be async anyway.

This new iteration makes it far less complex to implement a custom executor, without
needing to concern oneself with complex promise management. This means it should be
fairly practical to make custom executors with this.
(this was WAY easier than the first time)
@dktapps dktapps requested a review from a team as a code owner April 30, 2025 18:02
pmmp-admin-bot[bot]
pmmp-admin-bot bot previously approved these changes Apr 30, 2025
@dktapps dktapps added Category: Core Related to internal functionality Type: Enhancement Contributes features or other improvements to PocketMine-MP labels Apr 30, 2025
pmmp-admin-bot[bot]
pmmp-admin-bot bot previously approved these changes Apr 30, 2025
pmmp-admin-bot[bot]
pmmp-admin-bot bot previously approved these changes May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Category: Core Related to internal functionality Type: Enhancement Contributes features or other improvements to PocketMine-MP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant