projectfluent / cached-iterable

Iterables which cache the values they yield
6 stars 2 forks source link

CachedAsyncIterable does not work on Edge #5

Open mathroc opened 5 years ago

mathroc commented 5 years ago

Still debugging things on Edge, with fluent-dom, this.bundles is empty in Localization (from DomLocalization).

As my generateBundles return a simple iterator, not an async iterator, I tried changing CachedAsyncIterable to CachedSyncIterable and it worked.

I guess CachedAsyncIterable is supposed to work too as it works in other browsers and I'd like to avoid keeping a copy of DomLocalization & Localization with this patch in my project.

so if anyone knows how to test / debug this on Edge that would be great because I can't figure out where is the problem :)

mathroc commented 5 years ago

ps: if I can help by running some code on Edge let me know and I'll do when possible