Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2590

Reimplement AsyncIterator for Cursor optionally using a provided promise implementation

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      A recent change removed our custom implementation for AsyncIterator on the cursor type. While this fixes a bug by bringing our cursor in line with the Readable async iterator implementation, it also drops support for using a custom promise library passed into the driver. We should reimplement this, and use the solution Thomas is developing in his "global promise" feature.

            Assignee:
            thomas.reggi@mongodb.com Thomas Reggi (Inactive)
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: