mirror of
https://github.com/Dark98/SliceBeam.git
synced 2026-07-03 00:38:53 +00:00
Optimize boot time
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package ru.ytkab0bp.slicebeam.boot;
|
||||
|
||||
import ru.ytkab0bp.eventbus.EventBus;
|
||||
import ru.ytkab0bp.slicebeam.BuildConfig;
|
||||
|
||||
public class EventBusTask extends BootTask {
|
||||
|
||||
public EventBusTask() {
|
||||
super(() -> EventBus.registerImpl(BuildConfig.APPLICATION_ID));
|
||||
onWorker();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user