57 std::shared_ptr<const T>
get() {
58 return context->value_.copy();
62 context->callback_.swap(callback);
67 context->callback_.swap(empty);
constexpr detail::Map< Move > move
std::once_flag observerInit_
Observer< T > getObserver()
—— Concurrent Priority Queue Implementation ——
folly::Optional< Observer< T > > observer_
FOLLY_ALWAYS_INLINE void call_once(basic_once_flag< Mutex, Atom > &flag, F &&f, Args &&...args)
constexpr auto empty(C const &c) -> decltype(c.empty())
SimpleObservable(T value)
std::shared_ptr< Context > context_
uint64_t value(const typename LockFreeRingBuffer< T, Atom >::Cursor &rbcursor)
std::shared_ptr< Context > context
void subscribe(folly::Function< void()> callback)