aurelia / task-queue

A simple task queue for the browser that enables the queuing of both standard tasks and micro tasks.
MIT License
36 stars 21 forks source link

refactor(src): change property into constant #14

Closed gheoan closed 8 years ago

gheoan commented 8 years ago

By looking at the comments about the reason behind the usage of the capacity, seems that a constant is more fitting than a property.

EisenbergEffect commented 8 years ago

Thanks for looking into the details. I think we'll leave it the way it is, since this would be a breaking change. Also, in the rare event someone needs to change the queue capacity, the property would enable setting that from the outside.