MCPcopy Create free account
hub / github.com/Botloader/botloader / get

Function get

components/runtime/src/ts/storage.ts:182–188  ·  view source on GitHub ↗

* Fetches a entry from the bucket. * * @param key The key for the value you want returned * @returns The entry, or undefined if it did not exist

(key: string)

Source from the content-addressed store, hash-verified

180 * @returns The entry, or undefined if it did not exist
181 */
182 async get(key: string) {
183 return this.entryFromInternalOptional(await OpWrappers.bucketStorageGet({
184 pluginId: this.pluginId,
185 bucketName: this.name,
186 key: key,
187 }));
188 }
189
190 /**
191 * Deletes an entry from the bucket permanently.

Callers 3

run_http_serverFunction · 0.50
runFunction · 0.50
run_http_serverFunction · 0.50

Calls 1

getMethod · 0.45

Tested by

no test coverage detected