You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ReadResult contains progress info at the level of chunks:
// the offset of the chunk being read
// starts at 0 and eventually increments to totalChunks
// useful for computing read progress as a percentage
chunkOffset: number,
// the total chunks to eventually be consumed
// during the current read operation
totalChunks: number,
If you're just reading the entire bag, you can determine how many messages there are in each topic by using bag.chunkInfos. Each ChunkInfo has a list of "connections" and how many messages there are for that connection. You can map back connections to topic names using bag.connections.
I want to show the progress of reading the file, something like progress bar.How to get the progress of how much of file has been parsed/read.
Please provide info If I have overlooked already existing properties.
The text was updated successfully, but these errors were encountered: