| Package | Description |
|---|---|
| io.modelcontextprotocol.client |
| Modifier and Type | Method and Description |
|---|---|
McpClient.SyncSpec |
McpClient.SyncSpec.promptsChangeConsumer(Consumer<List<McpSchema.Prompt>> promptsChangeConsumer)
Adds a consumer to be notified when the available prompts change.
|
McpClient.AsyncSpec |
McpClient.AsyncSpec.promptsChangeConsumer(Function<List<McpSchema.Prompt>,reactor.core.publisher.Mono<Void>> promptsChangeConsumer)
Adds a consumer to be notified when the available prompts change.
|
Copyright © 2025. All rights reserved.