chore(apu): improve code organization
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -48,7 +48,7 @@ impl<T> SampleProducer<T> {
|
||||
self.inner.slots() > 2
|
||||
}
|
||||
|
||||
pub(crate) fn available_block(&self) -> bool {
|
||||
pub(crate) fn available_blocking(&self) -> bool {
|
||||
loop {
|
||||
if self.inner.slots() > 2 {
|
||||
break true;
|
||||
|
Reference in New Issue
Block a user