|
NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
|
EventCallback to avoid colliding with neograph::StreamCallback (provider.h: void(string)). The shapes are different (return type + argument), so a TU pulling in both <neograph/provider.h> and <neograph/a2a/client.h> would shadow one with the other. Old name kept as an alias for back-compat — prefer EventCallback in new code. invoke(params, on_chunk). New code: co_await provider->invoke(params, nullptr) (async) or neograph::async::run_sync(provider->invoke(params, nullptr)) (sync). The legacy complete() keeps working through the deprecation window and is removed in v1.0.0. See ROADMAP_v1.md Candidate 6. invoke(params, nullptr). v1.0 removes this. invoke(params, on_chunk) (or neograph::async::run_sync(invoke(params, on_chunk)) for a sync caller). v1.0 removes this. invoke(params, on_chunk). v1.0 removes this.