mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-07-21 14:25:41 +00:00
Depreate functions that spawn a thread (#2418)
* Depreate functions that spawn a thread * Bump versions
This commit is contained in:
committed by
Bastian Köcher
parent
8b7258f850
commit
f14580535e
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "substrate-consensus-slots"
|
||||
version = "1.0.0"
|
||||
version = "1.1.0"
|
||||
authors = ["Parity Technologies <admin@parity.io>"]
|
||||
description = "Generic slots-based utilities for consensus"
|
||||
edition = "2018"
|
||||
|
||||
@@ -71,6 +71,7 @@ pub fn inherent_to_common_error(err: inherents::RuntimeString) -> consensus_comm
|
||||
}
|
||||
|
||||
/// Start a new slot worker in a separate thread.
|
||||
#[deprecated(since = "1.1", note = "Please spawn a thread manually")]
|
||||
pub fn start_slot_worker_thread<B, C, W, SO, SC, T, OnExit>(
|
||||
slot_duration: SlotDuration<T>,
|
||||
client: Arc<C>,
|
||||
|
||||
Reference in New Issue
Block a user