Skip all events while the matcher returns true.
Future<void> consume(Matcher match) async { while (await hasNext) { final p = await peek; if (!match(p)) break; _log.finest(p); await next; } }