server.main

psync server

class server.main.PTask(task: Task[None], process: Process)

Bases: object

Simple wrapper class for task-based process execution.

process: Process
task: Task[None]
class server.main.PsyncServer(args: Args)

Bases: object

The main interface for the psync websocker server.

args: Args
async serve() None

The main interface for the server. Will serve forever, or until exited with SIGINT/Ctrl-C.

server.main.main(args: Args | None = None)

Run the server as an executable.