MCPcopy Index your code
hub / github.com/simstudioai/sim / appendEvent

Function appendEvent

apps/sim/lib/copilot/request/session/buffer.ts:156–161  ·  view source on GitHub ↗
(
  envelope: PersistedStreamEventEnvelope
)

Source from the content-addressed store, hash-verified

154}
155
156export async function appendEvent(
157 envelope: PersistedStreamEventEnvelope
158): Promise<PersistedStreamEventEnvelope> {
159 await appendEvents([envelope])
160 return envelope
161}
162
163export class InvalidCursorError extends Error {
164 constructor(

Callers 2

buffer.test.tsFile · 0.90
Class · 0.85

Calls 1

appendEventsFunction · 0.85

Tested by

no test coverage detected