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

Forge Support #2

Open aikar opened 8 years ago

aikar commented 8 years ago

Major Concern: Scheduler?

Zidane commented 8 years ago

@aikar

When I've mentioned a "Scheduler" to their channel before, it was met with a resounding "NO".

Reasoning? They dislike running code snippets later on. They, instead, prefer to their tick event handlers......

aikar commented 8 years ago

@Zidane posting to main should be easy to do with the tick event handler, just maintain a ConcurrentLinkedQueue of tasks to run each tick.

The tick based delay will be trickier, but should be possible using same event if we maintain track of tick count too.

liach commented 6 years ago

@aikar The main issue with forge is that it needs gradle to build. Put it in a separate repo?

aikar commented 6 years ago

@liach I would be willing to convert TaskChain to gradle if someone PR's it using my base gradle file at https://github.com/aikar/util/blob/master/build.gradle and set the multi projects up like I did for IDB

https://github.com/aikar/db