sig
type t
external make : ThreadPoolExecutor.t -> ExecutorCompletionService.t
= "ocamljava_executorcompletionservice_make"
external poll : ExecutorCompletionService.t -> 'a Future.t option
= "ocamljava_executorcompletionservice_poll"
external poll_time :
ExecutorCompletionService.t -> int64 -> TimeUnit.t -> 'a Future.t option
= "ocamljava_executorcompletionservice_poll_time"
external submit :
ExecutorCompletionService.t -> ('a -> 'b) -> 'a -> 'b Future.t
= "ocamljava_executorcompletionservice_submit"
external take : ExecutorCompletionService.t -> 'a Future.t
= "ocamljava_executorcompletionservice_take"
end