decline-cookies / anvil-unity-dots

Unity DOTS and ECS specific additions and extensions to Anvil
MIT License
4 stars 1 forks source link

Add ability to unwind DriverDataStreams on cancel #267

Closed mbaker3 closed 1 year ago

mbaker3 commented 1 year ago

Add the ability to configure a cancel job for IDriverDataStreams that are configured CancelBehaviour.Unwind

What is the current behaviour?

Only ISystemDataStreams can have jobs configured to handle unwinding cancel requests.

This means that IDriverDataStreams configured with CancelBehaviour.Unwind would get stuck since the developer could not resolve the unwinding with a job.

What is the new behaviour?

Developer can now call ConfigureJobToCancel on their task driver instance to handle unwinding a IDriverDataStream instnace.

What issues does this resolve?

What PRs does this depend on?

Does this introduce a breaking change?