onPublished property
Called after changes are published, with how many. The framework's delivery runtime uses it to send them on without waiting for its next tick; a failure in it never reaches the write that published.
Implementation
void Function(int published)? onPublished;