pub type BoxedPromptFn = Box<dyn for<'a> Fn(Option<Value>, &'a Context<'a>) -> Pin<Box<dyn Future<Output = Result<GetPromptResult, McpError>> + Send + 'a>> + Send + Sync>;Expand description
A boxed async function for prompt rendering.
Aliased Typeยง
pub struct BoxedPromptFn(/* private fields */);