Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added read/write functional with timeout var (instead of deadline) #7

Closed
wants to merge 1 commit into from

Conversation

zavorotynskiy
Copy link

I guess it can be useful for somebody to set the timeout (time.Duration) for Read / Write methods instead of using the timestamp before each run the method.

@jakelee8
Copy link
Collaborator

The API was modeled after the net.Conn API. Adding a timeout API would unnecessarily complicate the API and create confusion about which method to use.

@jakelee8 jakelee8 closed this Jul 31, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants