Files: 2b9a2b29e069f6c25c9947d0c64fde6c71dcf631 / docs / inbox.md
2035 bytesRaw
<!-- Generated by documentation.js. Update this documentation by updating the source code. -->
Table of Contents
constructor
The inbox manages and sorts incoming messages and provides functions to wait on messages
Parameters
queue
queues a message
Parameters
message
Message
nextTaggedMessage
Waits for a message sent with a capablitly that has one of the given tags
Parameters
Returns Promise
nextMessage
Waits for the the next message if any
Parameters
timeout
Integer (optional, default0
)
Returns Promise
Built with git-ssb-web