RPNX::QueryGraph
Typed, memoized, concurrent query evaluation for C++23
Loading...
Searching...
No Matches
rpnx::querygraph::debug_abi::request< QuerySpec > Struct Template Reference

Awaitable request for a memoized query value. More...

#include <querygraph.hpp>

Public Member Functions

 request (typename QuerySpec::input_type input)
 Construct a request by taking ownership of its input.
 

Public Attributes

QuerySpec::input_type m_input
 Input value used to locate or create the requested node.
 

Detailed Description

template<query_spec_c QuerySpec>
struct rpnx::querygraph::debug_abi::request< QuerySpec >

Awaitable request for a memoized query value.

Construct this inside a handler and pass it to co_await. The current handler specification must list QuerySpec in its dependencies. Request objects retain their input and may first be yielded through dependency, then awaited later.

Template Parameters
QuerySpecRequested query specification.

Definition at line 834 of file querygraph.hpp.

Constructor & Destructor Documentation

◆ request()

template<query_spec_c QuerySpec>
rpnx::querygraph::debug_abi::request< QuerySpec >::request ( typename QuerySpec::input_type input)
inline

Construct a request by taking ownership of its input.

Definition at line 841 of file querygraph.hpp.

References m_input.

Member Data Documentation

◆ m_input

template<query_spec_c QuerySpec>
QuerySpec::input_type rpnx::querygraph::debug_abi::request< QuerySpec >::m_input

Input value used to locate or create the requested node.

Definition at line 837 of file querygraph.hpp.

Referenced by request().


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