Open alexjgriffith opened 6 years ago
Timeline streams are working and ready for integration into mainline mastodon.el
. They now extend the capacity of mastodon-tl.el
functions. A few decisions have to be made about integration.
I haven't made up my mind about 1) yet.
2) is no different from what it is a the moment I believe. If you don't update for ages and then press 'u' it won't get all intermittent toot, I believe. I suspect that should be raised as a separate issue (add the ability for the user to on-demand fill these gaps?) but leave it as is for the streams (i.e. when you re-enable streams just load from that point on. As an added bonus we could do one automated update call to do any catch-up if needed before resuming the stream...
3) should probably be a customizable value - but what default value? I'd vote for something around 1000...
@alexjgriffith it's a wild long shot so long after the fact, but would you be willing to take a look at this again? i merged your work over at https://git.blast.noho.st/mouse/mastodon.el, but found it sometimes would go haywire so i didn't focus on making it accessible. trying to debug it almost broke my brain so i desisted. but when it works it's lovely, so would be a pity to jettison too.
Get async streams working with synchronous
mastodon-tl--timelines
mastodon-tl--buffer-spec
such that new toots can be requestedmastodon-http--get-json
streaming
and requestingbehaviour
Full implementation depends on #37 for rendering notifications