Skip to content

Commit

Permalink
consumeQueue: document return
Browse files Browse the repository at this point in the history
  • Loading branch information
gmpassos committed Aug 10, 2023
1 parent 28110c8 commit 15629c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/win32_gui_base.dart
Expand Up @@ -516,6 +516,7 @@ class WindowMessageLoop {
}

/// Consumes the message queue.
/// - Returns the amount of processed messages.
/// - Calls Win32 [PeekMessage] (removing from que queue).
/// - Stops after consume reaches [maxMessages] or when the queue is empty.
static int consumeQueue({int maxMessages = 3}) {
Expand Down

0 comments on commit 15629c5

Please sign in to comment.