😭 The borrow checker is no pushover. Brain turning to goo trying to figure out how to tie the lifetime of this channel sender to an Arc of a callback closure.

@mauve Don't be afraid to `clone()` stuff if that works. Only torture yourself with fancy lifetimes later if perf is bad.

Follow

@fabrice Yeah I tried to clone it and shove it into Box/Arc.

Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.