MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / payloadOf

Function payloadOf

packages/server-e2e/test/prompt-queue-steer.test.ts:164–167  ·  view source on GitHub ↗
(frame: AnyFrame)

Source from the content-addressed store, hash-verified

162}
163
164function payloadOf<T>(frame: AnyFrame): T {
165 expect(frame.payload, `${frame.type} frame should carry payload`).toBeDefined();
166 return frame.payload as T;
167}
168
169function frameForLog(frame: AnyFrame): Record<string, unknown> {
170 return {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected