append method
Appends blobs in order to the roomId log, assigning one sequence
number per blob. Returns the last assigned sequence number.
Implementation
@override
Future<int> append(String roomId, List<String> blobs) async {
final room = _room(roomId);
for (final blob in blobs) {
room.lastSeq += 1;
room.log.add(RelayLogEntry(seq: room.lastSeq, blob: blob));
}
return room.lastSeq;
}