async_utils::hanging_get

Module test_util

Source

Structsยง

  • An observer that can be used to observe values from a HangingGet or Window instance. The observer must not be observed multiple times without the value being taken with take_value inbetween each observation. This prevents overwriting observations without checking them and simplifies the logic and API surface of this fake.