postaljs/postal.preserve — pull request #3 by sangchatb (2014-10-01 23:51:18+00:00)
Title: Allow subscribers to purge messages

Preserve has been useful in preventing initialization timing issues between a publishing and subscribing controller. As controllers are created and destroyed often, messages would accumulate in the channel from previous controller instances.

The purge function for expiring messages has been added to every message envelope to allow subscribers to purge messages as they are processed.