Package dev.restate.common.function
Interface ThrowingBiConsumer<T,U>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Like
BiConsumer but can throw checked exceptions.-
Method Summary
Modifier and TypeMethodDescriptionvoiddefault BiConsumer<T, U> static <T,U> BiConsumer <T, U> wrap(ThrowingBiConsumer<T, U> fn)
-
Method Details
-
accept
- Throws:
Throwable
-
wrap
-
asBiConsumer
-