William

Results 154 comments of William

Weird, I must have missed that one somehow.

File/text dropping is archaic/buggy in Tauri (at least this version) so this has not been implemented yet

Some of the translation strings have been removed or reverted to English in your changes

Maybe it would be best to create a new specialized cell for this approach. Implementing `OnceCell::wait` might accrue additional overhead for instances where the method is not used. We could...

I assume that's what you'd have gone for! Here's a stub of the specialized implementation I was proposing. ```rs pub struct BarrierCell { state: AtomicU8, value: UnsafeCell, waiters: Notify, }...

> Yeah, thinking on this more, we should just do the same trick with holding a list of wakers which we then wake on initialization. Potential problem with that -...

ACTUALLY - I think it can be done like this? ```rs pub async fn wait(&self) -> &T { // Try to acquire a permit, so that we don't step on...

I don't think its necessary to implement that for this method, unless you want to use it for other things in future ;) It turns out the existing semaphore was...

Also happens for me when I take both AirPods out.