server.ref()
- 返回值: <net.Server>
unref() 的反操作是在之前 unref 过的服务器上调用 ref(),如果这是最后一个服务器,程序将 不会 退出(这是默认行为)。如果服务器已经是 ref 状态,再次调用 ref() 不会有任何效果。
【Opposite of unref(), calling ref() on a previously unrefed server will
not let the program exit if it's the only server left (the default behavior).
If the server is refed calling ref() again will have no effect.】