Commit fe83dc57 authored by Dominik Charousset's avatar Dominik Charousset

Improve documentation for ignore_elements

parent 1ef613ef
...@@ -100,7 +100,8 @@ public: ...@@ -100,7 +100,8 @@ public:
template <class Predicate> template <class Predicate>
transformation<step::filter<Predicate>> filter(Predicate prediate); transformation<step::filter<Predicate>> filter(Predicate prediate);
/// Returns a transformation that ignores all items and only forwards complete /// Returns a transformation that ignores all items and only forwards calls to
/// `on_complete` and `on_error`.
transformation<step::ignore_elements<T>> ignore_elements(); transformation<step::ignore_elements<T>> ignore_elements();
/// Returns a transformation that applies `f` to each input and emits the /// Returns a transformation that applies `f` to each input and emits the
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
namespace caf::flow::step { namespace caf::flow::step {
/// A step that ignores all elements and only forwards calls to `on_complete`
/// and `on_error`.
template <class T> template <class T>
class ignore_elements { class ignore_elements {
public: public:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment