public enum LeftOverState

LeftOverState represents any left-over inbound, outbound, and pending outbound events that hit the EmbeddedChannel and were not consumed when finish was called on the EmbeddedChannel.

EmbeddedChannel is most useful in testing and usually in unit tests, you want to consume all inbound and outbound data to verify they are what you expect. Therefore, when you finish an EmbeddedChannel it will return if it’s either .clean (no left overs) or that it has .leftOvers.