Skip to content

Commit 3907b67

Browse files
committed
Fix the comment.
1 parent 7c1368f commit 3907b67

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/unique-message-id-provider.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ function UniqueMessageIdProvider () {
1818
* allocate
1919
*
2020
* Get the next messageId.
21-
* @return unsigned int
21+
* @return if messageId is fully allocated then return null,
22+
* otherwise return the smallest usable unsigned int messageId.
2223
*/
2324
UniqueMessageIdProvider.prototype.allocate = function () {
2425
this.lastId = this.numberAllocator.alloc()

0 commit comments

Comments
 (0)