add a few extra doc headers

This commit is contained in:
tommyskeff
2025-01-10 21:39:57 +00:00
parent 5447e06455
commit 5b2843acd3
2 changed files with 6 additions and 0 deletions

View File

@@ -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> {
/**

View File

@@ -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 {