Skip to content

five-on-it / packages/protocol/src/city / encodeClock

Function: encodeClock() ​

encodeClock(message): string

Defined in: packages/protocol/src/city.ts:39

Serializes the room clock as a text frame.

Parameters ​

message ​

minutes ​

number = ...

pace ​

number = ...

tick ​

number = ...

type ​

"clock" = ...

Returns ​

string