Open bluemods opened 1 year ago
Work should be made to migrate it to my Promise API (not part of this repo yet) or some other solution, so it can be removed.
What about using the standard concurrency features? CompletableFuture
s have been used to achieve "the same" effect as promises (unless you bring other features, such as pooling them or something).
You can also consider ReactiveX for concurrency, since it would allow device support while obviously being lightweight, like coroutines.
EDIT - After just a small amount of familiarizing with how Bluecord is built it is immediately obvious that adding an actual specialised concurrency library is probably not desirable.
This project is very slim and it seems like most things are implemented manually in order to only have what is needed.
AsyncTask has long since been deprecated.
Work should be made to migrate it to my Promise API (not part of this repo yet) or some other solution, so it can be removed.