drain property

Future<List<AgentMessage>> Function() drain
final

Consumes the unread messages, oldest first. Never throws; an empty list means "nothing arrived".

Implementation

final Future<List<AgentMessage>> Function() drain;