mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-07-04 17:08:18 +02:00
Introduce SyncAsyncExecutor
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package sonia.scm.repository.spi;
|
||||
|
||||
import java.time.Instant;
|
||||
|
||||
public final class SyncAsyncExecutors {
|
||||
|
||||
public static SyncAsyncExecutor synchronousExecutor() {
|
||||
return new SyncAsyncExecutor(Runnable::run, Instant.MAX);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user