Interface Blocker.Promise<C>
- All Superinterfaces:
AutoCloseable, BiConsumer<C, Throwable>, Invocable, Promise<C>, Promise.Invocable<C>
- Enclosing class:
Blocker
-
Nested Class Summary
Nested classes/interfaces inherited from interface Invocable
Invocable.Callable, Invocable.InvocationType, Invocable.ReadyTask, Invocable.TaskNested classes/interfaces inherited from interface Promise
Promise.Adapter<U>, Promise.Completable<S>, Promise.Invocable<R>, Promise.Task<T>, Promise.Wrapper<W> -
Field Summary
Fields inherited from interface Invocable
__nonBlocking, NOOP -
Method Summary
Methods inherited from interface BiConsumer
andThenMethods inherited from interface Invocable
getInvocationTypeMethods inherited from interface Promise
completeWith, failed, succeededMethods inherited from interface Promise.Invocable
accept
-
Method Details
-
block
- Throws:
IOException
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-