Skip to content

Commit

Permalink
Clarify a code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dominiklohmann committed May 25, 2024
1 parent 036d1b7 commit 4dbbeeb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ class trim_operator final : public crtp_operator<trim_operator> {
: field_{std::move(field)} {
}

// This function contains the logic of the trim operator when
// instantiated. It maps from a generator :53
// of table slices to a generator of
// table slices. A table slice is simply a batch of events.
// This function contains the logic of the trim operator when instantiated.
// It maps from a generator of table slices to a generator of table slices. A
// table slice is simply a batch of events. The operator control plane is an
// escape hatch from the operator, utilized for emitting diagnostics or
// running asynchronous code outside of the operator's generator.
auto operator()(generator<table_slice> input,
operator_control_plane& ctrl) const
-> generator<table_slice> {
Expand Down

0 comments on commit 4dbbeeb

Please sign in to comment.