Andela Pubsub
This package houses tech team pubsub implementation.
Usage
To emit an event, use
const pubsub = pubsub
To subscribe to an event, use
const pubsub = const handlers = EventName: async HandlerFunction pubsub
To set custom deadline timeout (time needed to process an event), use
const pubsub = const handlers = EventName: timeoutInSeconds: xxxx method: async HandlerFunction pubsub