MCPcopy Create free account
hub / github.com/53AI/53AIHub / enqueuePendingProcessStep

Function enqueuePendingProcessStep

api/controller/relay/relay_stream_event.go:172–182  ·  view source on GitHub ↗
(c *gin.Context, requestID string, step ProcessStep)

Source from the content-addressed store, hash-verified

170}
171
172func enqueuePendingProcessStep(c *gin.Context, requestID string, step ProcessStep) {
173 if c == nil {
174 return
175 }
176 steps := getPendingProcessSteps(c)
177 steps = append(steps, pendingProcessStep{
178 RequestID: requestID,
179 Step: step,
180 })
181 c.Set(ctxKeyPendingProcessSteps, steps)
182}
183
184func flushPendingProcessSteps(c *gin.Context) error {
185 if c == nil {

Callers 1

sendProcessStepFunction · 0.85

Calls 2

getPendingProcessStepsFunction · 0.85
SetMethod · 0.80

Tested by

no test coverage detected