queuez_hook_lifecycle.h 598 B

12345678910111213141516171819
  1. #pragma once
  2. namespace sunrise::client::hooks::queuez {
  3. /**
  4. * Attaches the family-zero source-list seed. The sweep declares one record per source key, so a
  5. * list the producer left empty leaves the client with no family-zero record, and no subscribe for
  6. * the object push to answer.
  7. * @return True when every fix attached.
  8. */
  9. [[nodiscard]] bool install() noexcept;
  10. /** Detaches the family-zero source-list seed. */
  11. void uninstall() noexcept;
  12. /** @return True while at least one fix is attached. */
  13. [[nodiscard]] bool is_installed() noexcept;
  14. } // namespace sunrise::client::hooks::queuez