1870aeea129039786dbe9b395b748612eeb54ff4
read / readOrNull / modify primitives that take an EntityHandle, switch to the entity's world dispatcher, run the block on the world thread, and return to the caller's dispatcher. ComponentRegistry maps KClass to opaque ComponentType keys for O(1) hot-path lookup.
Description
Coroutines for Hytale's per-world ECS. Replaces the noisy
CompletableFuture.runAsync { world.execute { store.getComponent(…) } }
pattern with one suspending call.
Languages
Kotlin
100%