0

How does the Dexie 2.0 beta work with async/await? I was reading through the source code but I am still confused how it is propagating zones without monkey patching any native functionality. Can someone give me a high level overview of how this works?

I'm pretty interested in using Dexie, any info would be great!

Felix Kling
  • 795,719
  • 175
  • 1,089
  • 1,143
user3692823
  • 341
  • 1
  • 11

1 Answers1

1

Dexie monkey patches Promise temporarily when entering a transaction zone, and restores it when leaving zone. Note that Dexie has its own zone system but it cooperates well with angular zones.

David Fahlander
  • 5,058
  • 1
  • 20
  • 19