com.raynigon.ecs.logging.async.service.AsyncService Maven / Gradle / Ivy
package com.raynigon.ecs.logging.async.service;
import java.util.concurrent.Callable;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.ForkJoinTask;
import java.util.function.Supplier;
public interface AsyncService {
CompletableFuture supplyAsync(Supplier supplier);
ForkJoinTask submit(Callable callable);
}