mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
cargo spellcheck (#3067)
This commit is contained in:
committed by
GitHub
parent
9b06a38bb6
commit
e8652e73db
@@ -52,8 +52,8 @@ impl ValidationHost {
|
||||
/// Execute PVF with the given code, params and priority. The result of execution will be sent
|
||||
/// to the provided result sender.
|
||||
///
|
||||
/// This is async to accomodate the fact a possibility of back-pressure. In vast majority of
|
||||
/// situations this function should return immediatelly.
|
||||
/// This is async to accommodate the fact a possibility of back-pressure. In the vast majority of
|
||||
/// situations this function should return immediately.
|
||||
///
|
||||
/// Returns an error if the request cannot be sent to the validation host, i.e. if it shut down.
|
||||
pub async fn execute_pvf(
|
||||
@@ -76,8 +76,8 @@ impl ValidationHost {
|
||||
|
||||
/// Sends a signal to the validation host requesting to prepare a list of the given PVFs.
|
||||
///
|
||||
/// This is async to accomodate the fact a possibility of back-pressure. In vast majority of
|
||||
/// situations this function should return immediatelly.
|
||||
/// This is async to accommodate the fact a possibility of back-pressure. In the vast majority of
|
||||
/// situations this function should return immediately.
|
||||
///
|
||||
/// Returns an error if the request cannot be sent to the validation host, i.e. if it shut down.
|
||||
pub async fn heads_up(&mut self, active_pvfs: Vec<Pvf>) -> Result<(), String> {
|
||||
@@ -219,7 +219,7 @@ struct PendingExecutionRequest {
|
||||
result_tx: ResultSender,
|
||||
}
|
||||
|
||||
/// A mapping from an artifact ID which is in preparation state to the list of pending exeuction
|
||||
/// A mapping from an artifact ID which is in preparation state to the list of pending execution
|
||||
/// requests that should be executed once the artifact's prepration is finished.
|
||||
#[derive(Default)]
|
||||
struct AwaitingPrepare(HashMap<ArtifactId, Vec<PendingExecutionRequest>>);
|
||||
|
||||
Reference in New Issue
Block a user