Skip to content

Commit

Permalink
Experimental | Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFloodDragon committed Jun 25, 2024
1 parent cd5ffea commit a3678fd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ open class FutureFactory<T>(
/**
* 获取 [FutureFactory] 保存的所有任务
*/
open fun getTasks(): Collection<CompletableFuture<T>> = tasks
open fun getAllTasks(): Collection<CompletableFuture<T>> = tasks

/**
* 清空[FutureFactory] 保存的所有任务
*/
open fun clearTasks() = tasks.clear()
open fun clearAllTasks() = tasks.clear()

/**
* 提交任务
Expand Down

0 comments on commit a3678fd

Please sign in to comment.