showBuffer

showBuffer

This buffer instance handles the traffic between API, Cache and renderer. It is mainly used for the card slider which openes when clicked on a episode poster. Inside this slider the user is able to move back and forth through every episode of the tv show. Loading the data for all episodes at once would take first of all way too much time and secondly it would stress the APIs too much which would lead to rate limiting. The buffer is meant to reduce these load times and stresses to make the user experice fluid and snappy.

A buffer instance is unique to one show. To buffer another show, the instance would have to be either overwritten or a new one must be created.