photon v0.5.1 (2023-07-04T11:26:09Z)
Dub
Repo
BlockingQueue
photon
ds
blocking_queue
Undocumented in source.
shared
class
BlockingQueue : WorkQueue!T(
T
) {
this
();
void
push
(T item);
T
pop
();
bool
tryPop
(T item);
bool
empty
[@property getter];
}
Constructors
this
this
()
Undocumented in source.
Members
Functions
pop
T
pop
()
Undocumented in source. Be warned that the author may not have intended to support it.
push
void
push
(T item)
Undocumented in source. Be warned that the author may not have intended to support it.
tryPop
bool
tryPop
(T item)
Undocumented in source. Be warned that the author may not have intended to support it.
Properties
empty
bool
empty
[@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
Meta
Source
See Implementation
photon
ds
blocking_queue
classes
BlockingQueue