Project

General

Profile

Actions

Feature #18774

closed

Add Queue#pop(timeout:)

Added by Eregon (Benoit Daloze) over 2 years ago. Updated over 2 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:108514]

Description

This has been mentioned many times but somehow was never added.
It is useful for many different use cases:

I think it should be a keyword argument for clarity, and so there is no confusion with the existing optional argument non_block=false.


Related issues 1 (1 open0 closed)

Related to Ruby master - Feature #17363: TimeoutsAssignedko1 (Koichi Sasada)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0