(data: Record<string, unknown>, time?: number)
| 5 | |
| 6 | let line = 0; |
| 7 | function e(data: Record<string, unknown>, time?: number): WireEntry { |
| 8 | line += 1; |
| 9 | return { lineNo: line, data: { ...data, time }, raw: data } as unknown as WireEntry; |
| 10 | } |
| 11 | function loop(event: Record<string, unknown>, time?: number): WireEntry { |
| 12 | return e({ type: 'context.append_loop_event', event }, time); |
| 13 | } |
no outgoing calls
no test coverage detected