# -*- mode: snippet -*-
# name: Vlocity pubsub
# key: pubsub
# --
// import pubsub from 'vlocity_cmt/pubsub';
pubsub.register('${1:channel}', {
    result: this.$1Triggered.bind(this),
    error:  this.$1ErrorTriggered.bind(this)
});