Closed Wertik closed 3 years ago
Create a thread factory.
ex.:
ThreadUtil.createThreadWithRepeatingTask(() -> { // Code }, delay);
For both repeating and delayed tasks.
Code review pending
Add methods for delayed and tasks to run at an exact time (millis from epoch).
Create a thread factory.
ex.:
For both repeating and delayed tasks.