* First bash at an event bus for webhooks and integrations * Refactoring * poc * Revert too wide ranging changes Move to two-queues
11 lines
213 B
JavaScript
11 lines
213 B
JavaScript
// @flow
|
|
import type { Event } from '../../server/events';
|
|
|
|
const Slack = {
|
|
on: (event: Event) => {
|
|
console.log(`Slack service received ${event.name}, id: ${event.model.id}`);
|
|
},
|
|
};
|
|
|
|
export default Slack;
|