cxxmcp 1.1.6
C++ MCP SDK
Loading...
Searching...
No Matches
mcp::Peer< RoleClient >::TaskHandle Class Reference

Public Member Functions

 TaskHandle (Peer &peer, protocol::Task task)
 
const std::string & id () const noexcept
 
protocol::TaskStatus status () const noexcept
 
const protocol::Tasksnapshot () const noexcept
 
core::Result< protocol::Taskpoll ()
 
core::Result< protocol::Taskcancel ()
 
core::Result< protocol::Jsonresult ()
 
template<class T >
core::Result< T > result_as ()
 
core::Result< protocol::Taskwait (std::chrono::milliseconds timeout, std::chrono::milliseconds poll_interval=std::chrono::milliseconds(100))
 

The documentation for this class was generated from the following file: