Oddbean new post about | logout
 nostr:npub1upkp7fd7rc3lrjg23r8gy0wc723vze7mxlx5984ut6zurjzpf5xss4tcwy yeah exactly! I mean that use case is really just "build a current_thread tokio executor from one of your threads and move a channel sender into it, then from the sync side use blocking_recv" (see https://docs.rs/tokio/latest/tokio/sync/mpsc/index.html#communicating-between-sync-and-async-code)

but yeah!