Files: 8c18358702ca2a0a21af3147cd8ff67d5773f91e / 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