Package io.activej.csp.dsl
Interface ChannelConsumerTransformer<T,R>
- All Known Subinterfaces:
ChannelQueue<T>,ChannelTransformer<I,,O> WithChannelTransformer<B,I, O>
- All Known Implementing Classes:
AbstractChannelTransformer,ChannelBuffer,ChannelBufferWithFallback,ChannelByteChunker,ChannelByteRanger,ChannelFileBuffer,ChannelFrameDecoder,ChannelFrameEncoder,ChannelZeroBuffer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> ChannelConsumerTransformer<T,ChannelConsumer<T>> identity()transform(ChannelConsumer<T> consumer)
-
Method Details
-
transform
-
identity
-