MCPcopy Create free account
hub / github.com/cloudwego/eino-examples / newMemoryCheckpointStore

Function newMemoryCheckpointStore

compose/batch/main.go:475–479  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

473}
474
475func newMemoryCheckpointStore() *memoryCheckpointStore {
476 return &memoryCheckpointStore{
477 data: make(map[string][]byte),
478 }
479}
480
481func (m *memoryCheckpointStore) Get(_ context.Context, id string) ([]byte, bool, error) {
482 m.mu.RLock()

Callers 1

runInterruptAndResumeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected