MCPcopy Create free account
hub / github.com/comerc/yandex / GetBatch

Method GetBatch

CHALLENGE/_main.go:217–227  ·  view source on GitHub ↗
(ctx context.Context, ids []int64)

Source from the content-addressed store, hash-verified

215}
216
217func (e *Example) GetBatch(ctx context.Context, ids []int64) ([]*Item, error) {
218 // enable shadow read from new storage
219 // ...
220 // enable priority read from new storage
221 // ...
222 items, err := e.storeV1.GetBatch(ctx, ids)
223 if err != nil {
224 return nil, fmt.Errorf("failed to get items: %w", err)
225 }
226 return items, nil
227}

Callers

nothing calls this directly

Calls 1

GetBatchMethod · 0.65

Tested by

no test coverage detected