We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa2cb01 commit 0d5a474Copy full SHA for 0d5a474
index.coffee
@@ -8,11 +8,9 @@ exports.handler = (event, context) ->
8
client = mqtt.connect("mqtt://test.mosquitto.org:1883")
9
console.log "after mqtt.connect()"
10
11
- for i in [1..1000]
12
- console.log "before client.publish() ", i
13
- client.publish event.topic, event.value,
14
- retain: (event.retain? and event.retain)
15
- console.log "after client.publish()", i
+ client.publish event.topic, event.value,
+ retain: (event.retain? and event.retain)
+ console.log "after client.publish()"
16
17
client.end()
18
console.log "after cleint.end()"
0 commit comments