decline-cookies / anvil-unity-dots

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

Exposing the ability to schedule Vanilla Unity jobs off of DataStreams #269

Closed jkeon closed 1 year ago

jkeon commented 1 year ago

TaskDrivers utilize DataStreams to do their work but sometimes you need to run a job in a Vanilla Unity system based on those datastreams.

What is the current behaviour?

No nice way to handle this.

What is the new behaviour?

Introducing a wrapper for a DataStream to manage scheduling a job off of a DataStream while checking if the data has possibly been invalidated or not. This makes it easy to include in your system and not have to worry about managing the last known version etc.

What issues does this resolve?

What PRs does this depend on?

Does this introduce a breaking change?