Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @@ -0,0 +1,24 @@
- const EventEmitter = require('event-emitter-es6');
- const async = require('async');
- const log4js = require('log4js');
- const logger = log4js.getLogger('DownloadTickersManager');
- logger.level = 'debug';
- class DownloadTickersManager extends EventEmitter {
- constructor(exchanges, tickerRepository) {
- super();
- this._exchanges = exchanges;
- this._tickerRepository = tickerRepository;
- this._tasks = [];
- }
- async getTickerByExchange(exchange, coins) {
- this._tickerRepository.findByExchangeAndCoin([exchange], coins, )
- }
- }
- module.exports = DownloadTickersManager;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement