@the_pixelport/aws-lambda-graphql
Version:
Apollo server for AWS Lambda with WebSocket subscriptions support over API Gateway v1 + v2
13 lines • 370 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MemoryEventStore = void 0;
class MemoryEventStore {
constructor() {
this.publish = async (event) => {
this.events.push(event);
};
this.events = [];
}
}
exports.MemoryEventStore = MemoryEventStore;
//# sourceMappingURL=MemoryEventStore.js.map