pnowojski commented on a change in pull request #9383: [FLINK-13248] [runtime] Adding processing of downstream messages in AsyncWaitOperator's wait loops URL: https://github.com/apache/flink/pull/9383#discussion_r314330433
########## File path: flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/tasks/mailbox/MailboxSender.java ########## @@ -33,4 +33,13 @@ * @throws MailboxStateException if the mailbox is quiesced or closed. */ void putMail(@Nonnull Runnable letter) throws MailboxStateException; + + /** + * Adds the given action to the head of the mailbox. + * + * @param priorityLetter action to enqueue to the head of the mailbox. + * @throws MailboxStateException if the mailbox is quiesced or closed. + */ + void putFirst(@Nonnull Runnable priorityLetter) throws MailboxStateException; + Review comment: nit: unnecessary new line? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services