feat: add progress notification handling and related structures (#282)
* feat: add progress notification handling and related structures also fix some lifetime bugs of tool macro * fix: fmt
This commit is contained in:
parent
893969ac77
commit
8e1490bcd8
1 changed files with 298 additions and 18 deletions
|
|
@ -43,10 +43,7 @@ impl<T> TestHandler<T> {
|
|||
}
|
||||
|
||||
#[rmcp::tool]
|
||||
async fn async_function<T>(
|
||||
_callee: &TestHandler<T>,
|
||||
Parameters(Request { fields }): Parameters<Request>,
|
||||
) {
|
||||
async fn async_function(Parameters(Request { fields }): Parameters<Request>) {
|
||||
drop(fields)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue