jazzfool / reclutch

Rust UI Core
Other
157 stars 4 forks source link

Add bidirectional 1:1 event queue #18

Closed fogti closed 4 years ago

fogti commented 4 years ago

Use case: jazzfool/reui#1 This PR introduces an optimized bidirectional 1:1 event queue.

jazzfool commented 4 years ago

Thanks.

fogti commented 4 years ago

I'm not entirely sure if we really need the bidir part. bidir_single is the more important part, because it's not easily emulatable using standard event queues.

jazzfool commented 4 years ago

It may still be useful; emulating a bidirectional queue is somewhat cumbersome.