completeMessageInQueue method
Completing the message in queue
Implementation
void completeMessageInQueue(NUIMiniProgramMessage message){
final completed = _messageQueue[message.id];
if(completed != null && completed.isCompleted){
_messageQueue[message.id] = Completer();
}
_messageQueue[message.id]?.complete(message);
}