Skip to content

Releases: KubawGaming/BetterRunnableAPI

Changelog v5.0.0

30 Jun 13:03

Choose a tag to compare

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

25 Jan 01:25

Choose a tag to compare

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

24 Jan 23:16
3048b7d

Choose a tag to compare

  • 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

01 Sep 15:40

Choose a tag to compare

  • added for BetterRunnableGroup new method stopAndRemove(BetterRunnable)
  • version bump

Changelog v3.0.8

30 Aug 19:35

Choose a tag to compare

  • 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

29 Aug 23:10

Choose a tag to compare

fixed bug with bad pausing implementation (unpause started 2 tasks instead of only one)

Changelog v3.0.6

26 Aug 12:27

Choose a tag to compare

  • 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

25 Aug 19:06

Choose a tag to compare

  • 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

25 Aug 18:18

Choose a tag to compare

  • fixed not working pause for delayed tasks
  • added cancelAllAndRemove() method for BetterRunnableGroup

Changelog v3.0.3

12 Jul 21:30

Choose a tag to compare

  • added documentation comments for classes and methods