mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-16 09:52:54 +00:00
fixup: doc: many futures instead of tasks
as in, you could run many of these futures with tokio::select within one task or `runtime.block_on`; it does not matter.
This commit is contained in:
@@ -159,7 +159,7 @@ where
|
||||
{
|
||||
/// Restart a previously failed operation unless it already completed with a terminal result.
|
||||
///
|
||||
/// Many tasks can call this function and and get the terminal result from an earlier attempt
|
||||
/// Many futures can call this function and and get the terminal result from an earlier attempt
|
||||
/// or start a new attempt, or join an existing one.
|
||||
///
|
||||
/// Compared to `Self::try_restart`, this method also spawns the future to run, which would
|
||||
@@ -182,7 +182,7 @@ where
|
||||
|
||||
/// Restart a previously failed operation unless it already completed with a terminal result.
|
||||
///
|
||||
/// Many tasks can call this function and get the terminal result from an earlier attempt or
|
||||
/// Many futures can call this function and get the terminal result from an earlier attempt or
|
||||
/// start a new attempt, or join an existing one.
|
||||
///
|
||||
/// If a task calling this method is cancelled, at worst, a new attempt which is immediatedly
|
||||
|
||||
Reference in New Issue
Block a user