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
Add a doc comment
  • Loading branch information
montekki committed Jun 3, 2020
commit a43e38b2460d818fb74e01b28c140dcf396c46a5
5 changes: 5 additions & 0 deletions overseer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,11 @@ impl OverseerHandler {
}
}

/// Glues together the `Overseer` and `BlockchainEvents` by forwarding
/// import and finality notifications into the `OverseerHandler`.
///
/// [`Overseer`]: struct.Overseer.html
/// [`OverseerHandler`]: struct.OverseerHandler.html
pub async fn forward_events<P: BlockchainEvents<Block>>(
client: P,
mut handler: OverseerHandler,
Expand Down