Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-329

Update multi-threaded examples to use tasks

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

      There are a number of examples demonstrating that Client / Database / Collection are safe to use across threads. Now that the driver is becoming async-focused, we should try to update these examples to use tasks instead. One concern is figuring out how to do this in an async-runtime agnostic way, or at least a way that compiles regardless of the feature flags defined. 

            Assignee:
            sam.rossi@mongodb.com Samuel Rossi (Inactive)
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: