@Teufelchen I think you can use interior mutability to manage the peeked item (setting which is otherwise a mutation), and put that Option in a (Ref)Cell.
The receiver is already not Sync, so you don't need fancy synchronization.
=> More informations about this toot | View the thread | More toots from chrysn@chaos.social
=> View Teufelchen@hal9.ooo profile
text/gemini
This content has been proxied by September (3851b).