docs(ShardClientUtil): link Shard#message from send method (#4028)

* docs(ShardClientUtil): link Shard#message from send method

* docs(ShardClientUtil): use @ emits instead of @ link
This commit is contained in:
SpaceEEC
2020-04-16 11:56:42 +02:00
committed by GitHub
parent 2388467bd3
commit 7ce58dbd4a

View File

@@ -79,6 +79,7 @@ class ShardClientUtil {
* Sends a message to the master process.
* @param {*} message Message to send
* @returns {Promise<void>}
* @emits Shard#message
*/
send(message) {
return new Promise((resolve, reject) => {