Update docs, cleanup for 4.0.0 release

This commit is contained in:
Igor Katson 2023-12-03 12:14:50 +00:00
parent 3160f06f65
commit 006d83d6a7
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
29 changed files with 206 additions and 116 deletions

View file

@ -1,3 +1,5 @@
/// Spawn a future inside a tracing span, while logging it's start,
/// finish and periodically logging if it's still alive.
pub fn spawn(
_name: &str,
span: tracing::Span,
@ -7,7 +9,7 @@ pub fn spawn(
}
#[derive(Clone, Copy, Debug)]
pub struct BlockingSpawner {
pub(crate) struct BlockingSpawner {
allow_tokio_block_in_place: bool,
}