chore(apu): improve code organization
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-08-18 00:01:02 -05:00
parent 5d64e539a7
commit 360a9a7b65
4 changed files with 97 additions and 97 deletions

View File

@@ -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;