Add optional require statement for client

This commit is contained in:
Paul 2017-04-20 19:40:09 -07:00
parent 4130ab646c
commit 83b88fc015
4 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,4 @@
// const client = require('../src/client')
const client = require("eventstore-node")
const uuid = require("uuid")

View File

@ -1,3 +1,4 @@
// const client = require('../src/client')
const client = require("eventstore-node")
const uuid = require("uuid")

View File

@ -1,4 +1,6 @@
// Subscribe to all new events on the $all stream. Filter out any which aren"t about "user" aggregates.
// const client = require('../src/client')
const client = require("eventstore-node")
const resolveLinkTos = false

View File

@ -1,5 +1,7 @@
// Subscribe to all events on the $all stream. Catch up from the beginning, then listen for any new events as they occur.
// This could be used for subscribers which populate read models.
// const client = require('../src/client')
const client = require("eventstore-node")
const eventAppeared => (stream, event) =>