Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
e0ce732ee1 | |||
98be0f036c |
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartuniverse",
|
||||
"version": "1.0.34",
|
||||
"version": "1.0.35",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartuniverse",
|
||||
"version": "1.0.34",
|
||||
"version": "1.0.35",
|
||||
"private": false,
|
||||
"description": "messaging service for your micro services",
|
||||
"main": "dist/index.js",
|
||||
|
@ -17,7 +17,10 @@ export class UniverseMessage implements interfaces.IUniverseMessage {
|
||||
* public and unique id
|
||||
* numeric ascending
|
||||
* adheres to time in milliseconds
|
||||
* avoids duplications though
|
||||
* -> meaning it describes the time of arrival
|
||||
* -> two messages received at the same time will count up the second one
|
||||
* -> avoids duplications of messages
|
||||
* -> may be changed to nanoseconds to ensure higher throughput
|
||||
*/
|
||||
public id: number;
|
||||
|
||||
|
Reference in New Issue
Block a user