/// Per the Supreme Naming Committee, our codebase uses American spelling for
/// the word "canceled", not the infinitely seductive Australian spelling
/// "cancelled". Tokio, unfortunately, chose poorly, and this trait covers up
/// their error.
pub trait IsCanceled {
fn is_canceled(&self) -> bool;
}
impl IsCanceled for tokio::task::JoinError {
fn is_canceled(&self) -> bool {
// Avert your eyes!
self.is_cancelled()
}
}
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/get-convex/convex-backend'
If you have feedback or need assistance with the MCP directory API, please join our Discord server