mirror of
https://github.com/tommyskeff/futur4j.git
synced 2026-01-17 23:16:01 +00:00
add a few extra doc headers
This commit is contained in:
@@ -6,6 +6,9 @@ import java.util.concurrent.Executors;
|
||||
import java.util.concurrent.ScheduledExecutorService;
|
||||
import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
* An executor that can run tasks and schedule tasks to run in the future.
|
||||
*/
|
||||
public interface PromiseExecutor<T> {
|
||||
|
||||
/**
|
||||
|
||||
@@ -15,6 +15,9 @@ import java.util.function.Function;
|
||||
import java.util.stream.Stream;
|
||||
import java.util.stream.StreamSupport;
|
||||
|
||||
/**
|
||||
* A factory for creating and combining promises.
|
||||
*/
|
||||
@SuppressWarnings("unchecked")
|
||||
public interface PromiseFactory {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user