3#include <userver/engine/single_consumer_event.hpp>
13 virtual void Notify(
bool ok)
noexcept = 0;
20class AsyncMethodInvocation :
public EventBase {
22 virtual ~AsyncMethodInvocation();
26 void* GetTag()
noexcept;
29 void Notify(
bool ok)
noexcept override;
31 bool IsBusy()
const noexcept;
33 enum class WaitStatus {
41 [[nodiscard]] WaitStatus Wait()
noexcept;
45 [[nodiscard]]
bool IsReady()
const noexcept;
50 engine::SingleConsumerEvent event_;