Timeout for blocking read
and take
#6
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Currently we have two versions for single object retrieval methods (
read
andtake
): one is non-blocking and returnsOption<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 returnsOption<T>
(e.g:read_timeout
): if timeout elapsed and no object satisfying the condition is found we returnsNone
The text was updated successfully, but these errors were encountered: