Closed mojavelinux closed 5 years ago
If the listen method returned the current instance, it could be used in a way that's consistent with the http createServer API.
const repos = new GitServer('repos').listen(0)
Currently, this is not possible since the listen method does not return a value.
If the listen method returned the current instance, it could be used in a way that's consistent with the http createServer API.
Currently, this is not possible since the listen method does not return a value.