Core/BeforeEvent

Core/BeforeEvent

BeforeEvent is a mixin that provides methods to create hooks that run before a certain event.

Usage Example:

const BeforeEvent = require('core/before-event');
_.extend(MyObject, BeforeEvent);