MCPcopy Create free account
hub / github.com/subquery/subql / put

Method put

packages/node-core/src/utils/queues/autoQueue.ts:87–89  ·  view source on GitHub ↗
(item: Task<T>)

Source from the content-addressed store, hash-verified

85 */
86 // eslint-disable-next-line @typescript-eslint/promise-function-async
87 put(item: Task<T>): Promise<T> {
88 return this.putMany([item])[0];
89 }
90
91 // eslint-disable-next-line @typescript-eslint/promise-function-async
92 putMany(tasks: Array<Task<T>>): Promise<T>[] {

Callers 1

putManyMethod · 0.45

Calls 1

putManyMethod · 0.95

Tested by

no test coverage detected