Haio 0.2.X
Homebrew Asset IO/CDN
Loading...
Searching...
No Matches
deduplication.cpp File Reference
#include <cache/cache.hpp>
#include <boost/asio/as_tuple.hpp>
#include <boost/asio/steady_timer.hpp>
#include <boost/asio/use_awaitable.hpp>
Include dependency graph for deduplication.cpp:

Go to the source code of this file.

Classes

struct  Haio::Cdn::Detail::SingleFlight::Pending

Namespaces

namespace  Haio
namespace  Haio::Cdn
namespace  Haio::Cdn::Detail

Class Documentation

◆ Haio::Cdn::Detail::SingleFlight::Pending

struct Haio::Cdn::Detail::SingleFlight::Pending

the answer lives here rather than being read back from a store, so waiters are served even when nothing is being stored.

Definition at line 15 of file deduplication.cpp.

Class Members
optional< Result< CacheEntry > > answer
shared_ptr< steady_timer > timer