@vttforge/core / SocketPayload
Type Alias: SocketPayload<S> ​
SocketPayload<
S> =stringextends keyofS?never:InferSchema<S>
What run is handed. With an input schema, the shape it declares. Without one nothing is known about the payload, so a handler annotates its own.
Type Parameters ​
S ​
S extends Schema