Files: 0e2eb764d9e711043dde259c1e74c27d2b613c09 / 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