drain

Returns all collected snapshots in emission order and clears the internal buffer.