Sends a message to the child process in order to emit a registered given event
The event to be emitted in the child process
Disconnects this shard
The shard close code
Sends the child process a message to emit the given event to EventsHandler
The event to be emitted
The arguments of the events
Listener for child process messages
The request received from the child process
Spawns a new child according to the given file path. Sets the environmental variables for the process with the sharding information
Generated using TypeDoc
Creates and handles the communication of a shard