Uses of Interface
com.github.mizosoft.methanol.function.ThrowingConsumer
Packages that use ThrowingConsumer
-
Uses of ThrowingConsumer in com.github.mizosoft.methanol
Methods in com.github.mizosoft.methanol with parameters of type ThrowingConsumerModifier and TypeMethodDescriptionstatic HttpRequest.BodyPublisherMoreBodyPublishers.ofOutputStream(ThrowingConsumer<? super OutputStream> writerTask, Executor executor) Returns aBodyPublisherthat reads what's written to theOutputStreamreceived by the given task.static HttpRequest.BodyPublisherMoreBodyPublishers.ofWritableByteChannel(ThrowingConsumer<? super WritableByteChannel> writerTask, Executor executor) Returns aBodyPublisherthat reads what's written to theWritableByteChannelreceived by the given task. -
Uses of ThrowingConsumer in com.github.mizosoft.methanol.internal.function
Methods in com.github.mizosoft.methanol.internal.function with parameters of type ThrowingConsumerModifier and TypeMethodDescriptionstatic <T> Consumer<T> Unchecked.consumer(ThrowingConsumer<T> consumer)