Josh eloquently explains how Google Wave's DACP (Distributed Application Canceling Protocol) works:
https://www.youtube.com/watch?v=4Z4RKRLaSug