Skip to main content

Module single_timeline

Module single_timeline 

Source
Expand description

§A single stateful timeline cursor

SingleTimeline walks one feed (a specific user’s posts, a specific hashtag, the mentions of a given client, …) backwards through time, yielding pages of posts via get_more_posts(). It owns:

Timelines never reach an end — the walk just keeps stepping further back in time on demand (a hard-earned invariant: manually triggered “fetch more” must always produce something, even if it has to go a year further back to find it).

Structs§

SingleTimeline
A cursor that walks one feed backward through time, yielding encoded posts page by page.