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

Update Convenient Transactions API to use Async Closures

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Transactions
    • None
    • None
    • Rust Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Rust v1.85 announced the support for async closures which will return futures when called. This can help us simplify our current iteration of the Convenient Transactions API by making is simpler and more readable. This includes but is not limited to changes like removal of `my_data` field and the use of `.boxed()`  

      A/C

      • Existing API can be marked deprecated until next major version
      • Allow users to use this newer version of the API 

      Reference

            Assignee:
            Unassigned Unassigned
            Reporter:
            rishit.bhatia@mongodb.com Rishit Bhatia
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None