Files: 47cdaf541c5fb70cd51572ef2e40fda377cfe086 / 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