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
Suppose I'm only interested in latest n records (for a large n, ie 100,000). So count will be always <= 100_000, or even could be fixed to 100,000 (unexisting entries will be rendered blank)
My questions:
Recent entries must be shown first. Is there any way to deal with reverse order lists?
Is there any way to async load entries or ranges?
There will be a follow mode in which viewer automatically shows new entries. I can't find any example on this.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Scenario:
I'm building a real time viewer for a large event log.
Log entries are sequentialy numbered. Newest entries, greatest ids. Amout of entries is potentially huge.
For the sale of simplicity:
await getEntries(1, 5) = ['Entry 1', 'Entry 2', 'Entry 3', 'Entry 4', 'Entry 5']
count
will be always<= 100_000
, or even could be fixed to 100,000 (unexisting entries will be rendered blank)My questions:
Recent entries must be shown first. Is there any way to deal with reverse order lists?
Is there any way to async load entries or ranges?
There will be a follow mode in which viewer automatically shows new entries. I can't find any example on this.
Beta Was this translation helpful? Give feedback.
All reactions