Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synview: Preload resources #44

Open
2 tasks
chird opened this issue Aug 10, 2020 · 0 comments
Open
2 tasks

Synview: Preload resources #44

chird opened this issue Aug 10, 2020 · 0 comments
Labels
Projects

Comments

@chird
Copy link
Owner

chird commented Aug 10, 2020

Improvement within the preload options in the Type class can be made.

  • The preload() method is up to now only implemented in the Image class.
  • Preload strategy is currently fixed, all resources are immediately loaded.

Preload options should be expanded with the following keys:

strategy: 'all' | 'nearest', // 'nearest' has to be implemented in the Synview class.
maxPendingResources: number | Infinity, // how many resources are loaded at once
maxPreloadedResources: number | Infinity // for 'nearest' -> how many resources are preloaded "around" the current visible timestamp.
@chird chird added the feature label Aug 10, 2020
@chird chird added this to To do in Synview via automation Aug 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Synview
  
To do
Development

No branches or pull requests

1 participant