Update to Reactor Aluminium SNAPSHOT
Currently the BOM versions are: * reactor-core 3.0.6.BUILD-SNAPSHOT * reactor-netty 0.6.2.BUILD-SNAPSHOT This commit fixes as well a few deprecations in reactor-core.
This commit is contained in:
@@ -113,7 +113,7 @@ public abstract class DataBufferUtils {
|
||||
ByteBuffer byteBuffer = ByteBuffer.allocate(bufferSize);
|
||||
|
||||
return Flux.create(emitter -> {
|
||||
emitter.setCancellation(() -> closeChannel(channel));
|
||||
emitter.onDispose(() -> closeChannel(channel));
|
||||
AsynchronousFileChannelCompletionHandler completionHandler =
|
||||
new AsynchronousFileChannelCompletionHandler(emitter, position,
|
||||
dataBufferFactory, byteBuffer);
|
||||
|
||||
Reference in New Issue
Block a user