UNPKG

thinkingdata-node

Version:
27 lines (20 loc) 394 B
const _ = require("../../lib/tdUtils"); class TemporaryConsumer { flush() { } add(msg, callback) { console.log(msg); this.eventData = msg; } close(callback) { } getEventData() { console.log("getEventData") return this.eventData; } } module.exports = { init: function () { return new TemporaryConsumer(); } }