Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add external event notifications in transactions. #3020
This allows gecko to attach a callback to the transaction and run it after the scene is built to notify the tab switcher that the work is done.
The first commit adds a drain_filter utility modeled after currently unstable Vec::drain_filter. The idea is to be able to get a vector of operations, and each stage of the pipeline can decide to move operations out of the the array and handle them or let them for the next stages to consume.
This PR is based on top of #2989