Skip to content

lightgun-poc / server / startServer

Function: startServer()

startServer(opts?): Promise<RunningServer>

Defined in: server.ts:732

Boots the whole PC side: static file serving, WebSocket intake, aim the 2ms newest-wins cursor loop, button execution and jitter stats.

Parameters

opts?

ServerOptions = {}

Returns

Promise<RunningServer>

Released under the MIT License.