Releases: KubawGaming/BetterRunnableAPI
Releases · KubawGaming/BetterRunnableAPI
Changelog v5.0.0
Add soft pause and hard pause system for groups and possibility to enable/disable automatically pause/unpause when adding task to group depending of pause state in group.
Changelog v4.0.1
fix: BetterRunnableGroup 'java.util.ConcurrentModificationException' error when using methods on all tasks by group that is removing them from this group.
remove: method that did the same thing with a different name
Changelog v4.0.0
- pausing in tasks from now works good
- some method names was changed, like startTask() into start()
- added BetterTask interface for all tasks. BetterRunnableGroups from now works using List
- if you want make task in seperate classes, now u make Consumer instead of Consumer. Because of that you can easly change runnable type for class.
WARNING: Updating to new version will need code updates!
Changelog v3.0.9
- added for BetterRunnableGroup new method stopAndRemove(BetterRunnable)
- version bump
Changelog v3.0.8
- Added time saving for pausing and unpausing or BetterRunnable and BetterAsyncRunnable. From now shouldn't be time losing in task, if you between 1 and 2 execute pause and unpause
Changelog v3.0.7
fixed bug with bad pausing implementation (unpause started 2 tasks instead of only one)
Changelog v3.0.6
- version bump
- added 2 types for pausing BetterRunnable and BetterAsyncRunnable: AUTOMATIC and MANUAL - automatic cancel tasks on pause and starts it on unpause but manual only changes booleans in tasks while pausing/unpausing which allows you to implement your own logic
Changelog v3.0.5
- version bump
- fixed bug with unpausing for delayed tasks. (When unpause delayed task that is not running, unpause was starting this task)
Changelog v3.0.4
- fixed not working pause for delayed tasks
- added cancelAllAndRemove() method for BetterRunnableGroup
Changelog v3.0.3
- added documentation comments for classes and methods