You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Though Response has SetDeadline, Stor has nothing, and every net-calling method should support Context.
But the underlying net.Conn does not support Context. It can serve timeouts with Set(Read,Write)Deadline, but cancellation is unsolved.
So we could emulate half of Context, with complex code.
The other problem is the API: duplicate all methods with Timeout suffix or add a WithTimeout option to every method, or?
as title, will Stor 、 Retr can support context?
The text was updated successfully, but these errors were encountered: