UNPKG

@atomist/automation-client

Version:

Atomist API for software low-level client

32 lines 809 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const string_1 = require("../util/string"); class NoOpEventStore { commandSeries() { return [[], []]; } commands(from) { return []; } eventSeries() { return [[], []]; } events(from) { return []; } messages(from) { return []; } recordCommand(command) { return command.correlation_id ? command.correlation_id : string_1.guid(); return ""; } recordEvent(event) { return event.extensions.correlation_id ? event.extensions.correlation_id : string_1.guid(); } recordMessage(id, correlationId, message) { return id; } } exports.NoOpEventStore = NoOpEventStore; //# sourceMappingURL=NoOpEventStore.js.map