Skip to content

Commit

Permalink
doc: first item is current version comment (#817)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylezs authored Feb 8, 2023
1 parent 20adb19 commit 9e2acff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subxt/src/rpc/rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ impl<T: Config> Rpc<T> {
}

/// Subscribe to runtime version updates that produce changes in the metadata.
/// The first item emitted by the stream is the current runtime version.
pub async fn subscribe_runtime_version(
&self,
) -> Result<Subscription<types::RuntimeVersion>, Error> {
Expand Down

0 comments on commit 9e2acff

Please sign in to comment.