diff --git a/src/cache.ts b/src/cache.ts index 5664b8a..5c77a3c 100644 --- a/src/cache.ts +++ b/src/cache.ts @@ -72,7 +72,7 @@ class ExhaustableConsumable { if (next_item) { yield next_item.item; } else { - break; + return; } } }