Thread-safe ring buffer
Create a Flow from buffer
Iterator could provide wrong results if buffer is changed in initialization (iteration is safe)
A safe snapshot operation