Pub/Sub hook for the Sails framework.