Add optional require statement for client
This commit is contained in:
parent
4130ab646c
commit
83b88fc015
|
@ -1,3 +1,4 @@
|
||||||
|
// const client = require('../src/client')
|
||||||
const client = require("eventstore-node")
|
const client = require("eventstore-node")
|
||||||
const uuid = require("uuid")
|
const uuid = require("uuid")
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
// const client = require('../src/client')
|
||||||
const client = require("eventstore-node")
|
const client = require("eventstore-node")
|
||||||
const uuid = require("uuid")
|
const uuid = require("uuid")
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
// Subscribe to all new events on the $all stream. Filter out any which aren"t about "user" aggregates.
|
// 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 client = require("eventstore-node")
|
||||||
|
|
||||||
const resolveLinkTos = false
|
const resolveLinkTos = false
|
||||||
|
|
|
@ -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.
|
// 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.
|
// This could be used for subscribers which populate read models.
|
||||||
|
|
||||||
|
// const client = require('../src/client')
|
||||||
const client = require("eventstore-node")
|
const client = require("eventstore-node")
|
||||||
|
|
||||||
const eventAppeared => (stream, event) =>
|
const eventAppeared => (stream, event) =>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user