What is Nostr?
Matt Massicotte /
npub1xfk…wjhv
2024-04-05 12:34:05

Matt Massicotte on Nostr: It can be very hard to make classes Sendable. But when it’s hard, it’s also a ...

It can be very hard to make classes Sendable. But when it’s hard, it’s also a sign it is not the right solution.

The alternative, find out why you want this to be Sendable in the first place and change *that* might require rethinking how you are using concurrency. And that could be harder, but it’s where you should start.
Author Public Key
npub1xfkfzq9r68c7e5xnt0u4jzexx0nvy239m6as32k8n4d0jqaaseeqskwjhv