Add `__hash__` and `__eq__` for `TaskState` (#4278)
Add `__hash__` and `__eq__` for `TaskState` (#4278)

Implemented to make `TaskState` objects hashable.
dask/distributed,dask/distributed,dask/distributed,dask/distributed