Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc
  • Loading branch information
rphmeier committed Mar 28, 2021
commit efb3633d1d1abd38ab93372b8c53b81b6a849536
4 changes: 4 additions & 0 deletions node/subsystem/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,10 @@ pub trait SubsystemContext: Send + Sized + 'static {
///
/// This function should be used only when there is some other bounding factor on the messages
/// sent with it. Otherwise, it risks a memory leak.
///
/// Generally, for this method to be used, these conditions should be met:
/// * There is a communication cycle between subsystems
/// * One of the parts of the cycle has a clear bound on the number of messages produced.
fn send_unbounded_message(&mut self, msg: AllMessages) {
self.sender().send_unbounded_message(msg)
}
Expand Down