-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Send source state and op id to sink (#2354)
- Loading branch information
Showing
54 changed files
with
671 additions
and
264 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
use crate::node::PortHandle; | ||
use dozer_types::types::Operation; | ||
use dozer_types::types::OperationWithId; | ||
|
||
pub trait ProcessorChannelForwarder { | ||
/// Sends a operation to downstream nodes. Panics if the operation cannot be sent. | ||
/// | ||
/// We must panic instead of returning an error because this method will be called by `Processor::process`, | ||
/// which only returns recoverable errors. | ||
fn send(&mut self, op: Operation, port: PortHandle); | ||
fn send(&mut self, op: OperationWithId, port: PortHandle); | ||
} |
Oops, something went wrong.