Skip to content
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

Documentation of Unsupported Events/APIs and Async Enhancements #288

Open
SergioK29 opened this issue Sep 7, 2024 · 0 comments
Open

Documentation of Unsupported Events/APIs and Async Enhancements #288

SergioK29 opened this issue Sep 7, 2024 · 0 comments
Labels
status: needs triage type: feature Request for a new Feature.

Comments

@SergioK29
Copy link

SergioK29 commented Sep 7, 2024

Is your feature request related to a problem?
Developers need clarity on which events/APIs are unsupported in Folia and suggestions for more robust async API capabilities.

Describe the solution you'd like:
A full list of unsupported events/apis would be nice

Also more api for async stuff maybe like instead of:

for (World world : Bukkit.getWorlds()){
 for(Chunk chunk : world.getChunks()){
   // ran on main thread
 }
}

could be like this:

Folia.runOnEachRegion(tickRegion -> {
 tickRegion.getOwnedChunks().forEach(chunk -> {
  // ran on the different tick threads
 });
});
@SergioK29 SergioK29 added status: needs triage type: feature Request for a new Feature. labels Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: needs triage type: feature Request for a new Feature.
Projects
None yet
Development

No branches or pull requests

1 participant