|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Bounded provider extension independent of views, schedulers, and total extent. Implementations must not perform I/O or unbounded scans on the UI thread. I/O resolvers run on the existing source worker path and honor cooperative cancellation. Return PENDING rather than block for absent data. No second task/runtime is created. More...
#include <model_position.hpp>
Public Member Functions | |
| virtual | ~PositionResolver ()=default |
| Release only the resolver's own bounded metadata. | |
| virtual std::expected< PositionReply, SourceError > | resolve (const PositionRequest &request, std::stop_token stop={}) const =0 |
Bounded provider extension independent of views, schedulers, and total extent. Implementations must not perform I/O or unbounded scans on the UI thread. I/O resolvers run on the existing source worker path and honor cooperative cancellation. Return PENDING rather than block for absent data. No second task/runtime is created.
|
pure virtual |
| request | Owning position and exact target qualification. |
| stop | Cooperative cancellation from the existing delivery scope. |
Implemented in portals::FileLogModel, portals::FinitePositionResolver< T >, and portals::FiniteTextDocument.