amethyst / shred

Shared resource dispatcher
Apache License 2.0
233 stars 66 forks source link

Add a dispatcher that can be sent between threads #234

Closed Imberflur closed 7 months ago

IsseW commented 7 months ago

Dispatcher seems to now be an extension over SendDispatcher if IIUC.

And I think there would be less code duplication if Dispatcher contained a SendDispatcher instead of the two fields they share.

Imberflur commented 7 months ago

Dispatcher seems to now be an extension over SendDispatcher if IIUC.

And I think there would be less code duplication if Dispatcher contained a SendDispatcher instead of the two fields they share.

implemented this!