chore[net]: overloaded TaskBus execute method

This commit is contained in:
jaysunxiao committed 2025-10-01 10:11:32 +08:00
1 parent 242cfb9c9a
commit 0552de2e3d
1 file changed
+4
@@ -117,6 +117,10 @@ public final class TaskBus {
executorOf(taskExecutorHash).execute(ThreadUtils.safeRunnable(runnable));
}
public static void execute(long taskExecutorHash, Runnable runnable) {
execute((int) taskExecutorHash, runnable);
}
public static void execute(Object argument, Runnable runnable) {
execute(calTaskExecutorHash(argument), runnable);
}