GH-654 Add more tests, cleanup and initial javadoc

This commit is contained in:
Oleg Zhurakousky
2021-02-24 08:49:53 +01:00
parent a838f31be6
commit 410d494467
5 changed files with 175 additions and 68 deletions

View File

@@ -113,6 +113,9 @@ class RSocketListenerFunction implements Function<Message<Flux<byte[]>>, Publish
: Mono.just((Message<byte[]>) result);
});
}
/*
* THis is wrong as we're effectively not letting user to see any metadat that may have been comunicated
*/
return dataFlux.cast(Message.class).map(Message::getPayload);
}
}