We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cloudflare-mcp-apps/ads-roi'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
disposable.d.ts•624 B
/**
* A type which requires manual disposal to free unmanaged resources. In the
* context of this library, this usually means freeing memory from WebAssembly
* code.
*/
export interface IDisposable {
/**
* Frees unmanaged resources of the object. This method is idempotent;
* calling it multiple times will have no ill effects.
*/
dispose(): void;
}
/**
* A helper function that calls `.dispose()` on the {@link IDisposable} when
* the given function (or promise returned by the function) returns.
*/
export declare const using: <T, D extends IDisposable>(disposable: D, fn: (d: D) => T) => T;