1.0.10 • Published 3 years ago
umq v1.0.10
U
ntouchy M
essage Q
ueue
require("umq") == {
serve: ()=>{},
/**
* if you need to run server, also presented in Server.js
* strictly recommended to use with pm2 for stability
*/
Send : {
/** parameter receiver is a string that
* identifies the process you are talking to
* value is sent value
*
* function save adds current value
* function replace replaces all the process-associated values
* with sent one
* function read sends you back all the associated data
* function get reads and clears the data
*
* **/
save: async (receiver, value)=>{},
get: async(receiver)=>{},
replace: async(receiver, value)=>{},
read: async(receiver)=>{}
}
}