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

normalize state management across all stateful types

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.4
    • Affects Version/s: None
    • Component/s: Core, Native
    • Labels:
      None

      We have tons of ways of tracking the state of types: Session.prototype.hasEnded, txns have state variables similar to pool, cursor has both internal state variables AND public accessors such as isDead. Let's come up with a solution that meets the need of all of our cases and standardize across all types.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: