• Dominik Charousset's avatar
    Clean up the observable interface · 3c388a9c
    Dominik Charousset authored
    The `observable` interface should only have one member functions:
    `subscribe`. Hence, we move the `on_request` and `on_cancel` member
    functions to the new `subscription::listener` class. Also adds a new
    default implementation type for subscriptions that no longer requires a
    template.
    3c388a9c
disposable.hpp 3.64 KB