BufferOverflow

enum class BufferOverflow (source)

A strategy for buffer overflow handling in channels and flows that controls what is going to be sacrificed on buffer overflow:

Enum Values

SUSPEND

Suspend on buffer overflow.

DROP_OLDEST

Drop the oldest value in the buffer on overflow, add the new value to the buffer, do not suspend.

DROP_LATEST

Drop the latest value that is being added to the buffer right now on buffer overflow (so that buffer contents stay the same), do not suspend.