thinkingdata-node
Version:
A server-side API for thinkingdata analytics
27 lines (20 loc) • 394 B
JavaScript
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();
}
}