Interface AIServerToClient

interface AIServerToClient {
    net/pong: ((data) => void);
    [uuid: string]: ((data) => void);
}

Indexable

[uuid: string]: ((data) => void)

AI review messages are streamed back to the AI review UUID.

    • (data): void
    • Parameters

      • data: any

      Returns void

Properties

Properties

net/pong: ((data) => void)

Pong response from a ping

Type declaration

    • (data): void
    • Parameters

      • data: {
            client: number;
            server: number;
        }
        • client: number

          Client timestamp that was sent

        • server: number

          Server timestamp when it was received

      Returns void