Interface InputStreamConsumer<T>

Type Parameters:
T -
All Known Implementing Classes:
AttachmentZipEntryStreamConsumer

@PublicSpi public interface InputStreamConsumer<T>
Implementors consume an InputStream.

Typical usage pattern for methods that accept a consumer is to pass in an anonymous implementation of this interface:

      something.withConsumer(new InputStreamConsumer(){
Since:
4.4