document sharding stuff

This commit is contained in:
Amish Shah
2016-09-04 12:27:01 +01:00
parent b1a25bd176
commit f23c07a08e
3 changed files with 24 additions and 3 deletions

View File

@@ -1,6 +1,9 @@
const childProcess = require('child_process');
const path = require('path');
/**
* Represents a Shard spawned by the ShardingManager.
*/
class Shard {
constructor(manager, id) {
this.manager = manager;