We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pickstar-2002/redis-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
ResourceLoan.js•582 B
"use strict";
const Deferred = require("./Deferred");
/**
* Plan is to maybe add tracking via Error objects
* and other fun stuff!
*/
class ResourceLoan extends Deferred {
/**
*
* @param {any} pooledResource the PooledResource this loan belongs to
* @return {any} [description]
*/
constructor(pooledResource, Promise) {
super(Promise);
this._creationTimestamp = Date.now();
this.pooledResource = pooledResource;
}
reject() {
/**
* Loans can only be resolved at the moment
*/
}
}
module.exports = ResourceLoan;