The inbox manages and sorts incoming messages and provides functions to wait on messages
Parameters
queues a message
Parameters
message
Message
Waits for a message sent with a capablitly that has one of the given tags
Parameters
tags
Array<any>timeout
Integer
Returns Promise
Waits for the the next message if any
Parameters
timeout
Integer (optional, default0
)
Returns Promise