Commit e873118
feat(kotlin-sdk): add timeout parameter to sendResourceTeardown
Expose an optional timeout parameter with a sensible 500ms default.
This allows hosts to control how long to wait for the App to complete cleanup.
`sendResourceTeardown(timeout: Duration = 500.milliseconds)`
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent fc87ef5 commit e873118
File tree
1 file changed
+10
-2
lines changed- kotlin/src/main/kotlin/io/modelcontextprotocol/apps
1 file changed
+10
-2
lines changedLines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
8 | 10 | | |
9 | 11 | | |
10 | 12 | | |
| |||
217 | 219 | | |
218 | 220 | | |
219 | 221 | | |
220 | | - | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
221 | 228 | | |
222 | 229 | | |
223 | 230 | | |
224 | 231 | | |
225 | | - | |
| 232 | + | |
| 233 | + | |
226 | 234 | | |
227 | 235 | | |
228 | 236 | | |
0 commit comments