pub trait NotificationHandler: Send + Sync {
// Required method
fn notify(&self, when: Checkpoint);
}
Expand description
A handler to notify when a transaction reaches certain stages of the rendering pipeline.
Required Methods§
Sourcefn notify(&self, when: Checkpoint)
fn notify(&self, when: Checkpoint)
Entry point of the handler to implement. Invoked by WebRender.