Commit 12e0ffa
committed
Remove the
This isn't actually necessary with a bit of refactoring, and in general
it makes management of `JobQueue` simpler since there's one less type to
worry about. The one main usage of `Key` vs `Unit` was that `Key` was
`Send` to be placed in `Message`, but this was replaced by just
assigning each `Unit` an ever-increasing integer, and then `Finished`
contains the integer rather than the `Key` itself which we can map once
we get back to the main thread.Key type from JobQueue
1 parent 21cae01 commit 12e0ffa
1 file changed
+107
-158
lines changed
0 commit comments