new EventUtil()
Methods
-
static genSay(socket) → {function}
-
Generate a function for writing colored output to a socket with a newline
Parameters:
Name Type Description socketnet.Socket Returns:
function -
static genWrite(socket) → {function}
-
Generate a function for writing colored output to a socket
Parameters:
Name Type Description socketnet.Socket Returns:
function