[GODRIVER-766] gridfs API should take contexts rather than deadline time.Time Created: 15/Jan/19  Updated: 24/Jul/20  Resolved: 24/Jul/20

Status: Closed
Project: Go Driver
Component/s: API, GridFS
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major - P3
Reporter: Sam Kleinman (Inactive) Assignee: Unassigned
Resolution: Won't Do Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends

 Description   

The gridfs API is inconsistent with the high level driver api (and frankly what I'd expect). I think the OpenDownloadStream and UploadStream should take contexts and there shouldn't be a set-timeout method on these objects.



 Comments   
Comment by Esha Bhargava [ 24/Jul/20 ]

We can't change the API at this time. We can consider new methods that take a Context. If there is demand for that, we can reopen this.

Generated at Thu Feb 08 08:34:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.