Skip to content

Pre-load all images #19

@themakshter

Description

@themakshter

Instead of returning promises, which seems a bit more complicated, it might be easier and better to pre-load the images at the beginning. This will mean going over the map object we receive and creating an array of promises. Once all of them have been resolved, we can then draw images without worrying about anything.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requesthacktoberfestlabel to signify tasks fit for hacktoberfest (https://hacktoberfest.digitalocean.com/)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions