addMessageToQueue method

void addMessageToQueue(
  1. NUIMiniProgramMessage message
)

Adding message to the queue to be picked up

Implementation

void addMessageToQueue(NUIMiniProgramMessage message){
  _messageQueue[message.id] = Completer();
}