Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
Actor Framework
Commits
fe83dc57
Commit
fe83dc57
authored
Aug 09, 2023
by
Dominik Charousset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve documentation for ignore_elements
parent
1ef613ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
libcaf_core/caf/flow/observable_decl.hpp
libcaf_core/caf/flow/observable_decl.hpp
+2
-1
libcaf_core/caf/flow/step/ignore_elements.hpp
libcaf_core/caf/flow/step/ignore_elements.hpp
+2
-0
No files found.
libcaf_core/caf/flow/observable_decl.hpp
View file @
fe83dc57
...
@@ -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
...
...
libcaf_core/caf/flow/step/ignore_elements.hpp
View file @
fe83dc57
...
@@ -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:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment