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

Timeout for blocking read and take #6

Open
tmt96 opened this issue Apr 19, 2018 · 0 comments
Open

Timeout for blocking read and take #6

tmt96 opened this issue Apr 19, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@tmt96
Copy link
Owner

tmt96 commented Apr 19, 2018

Currently we have two versions for single object retrieval methods (read and take): one is non-blocking and returns Option<T> (try_read). The other is blocking until an object satisfying condition is found (read). We could add a third version that block until a timeout and returns Option<T> (e.g: read_timeout): if timeout elapsed and no object satisfying the condition is found we returns None

@tmt96 tmt96 self-assigned this Apr 19, 2018
@tmt96 tmt96 added enhancement New feature or request help wanted Extra attention is needed investigation needed More investigation needed before working on the issue good first issue Good for newcomers and removed investigation needed More investigation needed before working on the issue labels Apr 19, 2018
@tmt96 tmt96 mentioned this issue May 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant