Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
setTimeout(() => this._channel.emit(Events.STORIES_CONFIGURED), 0);
} else {
_sendSetStories() {
const channel = addons.getChannel();
const stories = this._stories.extract();
channel.emit(Events.SET_STORIES, { stories });
channel.emit(Events.STORIES_CONFIGURED);
}