You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use backoff::future::Retry using gloo-timers::future::TimeoutFuture as Sleeper::Sleep on WASM/Web, which is !Send. Sleeper currently requires type Sleep to be Send, but it seems this is not strictly necessary for the operation of Retry. I do understand, however, it'd technically be a visible API change to remove the Send bound, since the trait is public and not sealed, but it doesn't seem like a breaking change for the intended use of the Sleeper trait.
The text was updated successfully, but these errors were encountered:
I'm trying to use
backoff::future::Retry
usinggloo-timers::future::TimeoutFuture
asSleeper::Sleep
on WASM/Web, which is!Send
. Sleeper currently requirestype Sleep
to beSend
, but it seems this is not strictly necessary for the operation ofRetry
. I do understand, however, it'd technically be a visible API change to remove theSend
bound, since the trait is public and not sealed, but it doesn't seem like a breaking change for the intended use of theSleeper
trait.The text was updated successfully, but these errors were encountered: