mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
14 lines
422 B
JavaScript
14 lines
422 B
JavaScript
var syrup = require('syrup')
|
|
|
|
var logger = require('../../../util/logger')
|
|
var ChannelManager = require('../../../wire/channelmanager')
|
|
|
|
module.exports = syrup.serial()
|
|
.define(function() {
|
|
var log = logger.createLogger('device:support:channels')
|
|
var channels = new ChannelManager()
|
|
channels.on('timeout', function(channel) {
|
|
log.info('Channel "%s" timed out', channel)
|
|
})
|
|
return channels
|
|
})
|