aikar / TaskChain

TaskChain Control Flow framework. Helps facilitate running tasks on an application's "Main Thread" (such as a game), and tasks off the main (async).
https://taskchain.emc.gs
MIT License
203 stars 38 forks source link

Add TaskChain#abortIf(Predicate) #14

Closed Gabik21 closed 6 years ago

Gabik21 commented 6 years ago

This method adds another use case of TaskChain#abortIf where you can check the returned object for validation

I am sorry if there is something similar already present. Hopefully I am not blind.