Observer.consumeOne

Reads a single event.

struct Observer(T)
T
consumeOne
()

Throws

If the observer is closed and all events have been read, ObserverClosedException will be thrown.

Meta