Summary
Refactors how the resource system loads and provides data from resources.
Details
The goal is to keep changes to the API as minimal as possible, while updating the implementation on reading files asynchronously.
Mostly probably affected areas will be the factory functions and coroutine tasks.
Planned
Update tasks to be compatible with the rewritten task API.
Ensure files are read asynchronously and completed on worker threads.
Not sure if we are going to use a thread pool for this yet.
The API might use queues that are used by thread pools or threads.
Ensure multiple requests to the same resource are queued properly together.
Requires:
Summary Refactors how the resource system loads and provides data from resources.
Details The goal is to keep changes to the API as minimal as possible, while updating the implementation on reading files asynchronously. Mostly probably affected areas will be the factory functions and coroutine tasks.
Planned
(Milestone target: https://github.com/iceshard-engine/engine/discussions/144)