On May 9, 2014 1:16 PM, "Boris Zbarsky" wrote:
>
> In particular, given that get() wants to return a Promise, why do we want
values() to return a list of Cache objects synchronously?
>
> Similar for keys(): if has() needs to be async, then how can has() be
sync.
>
Exactly. both values() and keys(
In particular, given that get() wants to return a Promise, why do we
want values() to return a list of Cache objects synchronously?
Similar for keys(): if has() needs to be async, then how can has() be sync.
-Boris