wsp-ms-core 1.0.87-beta-1.2 → 1.0.88

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1940,7 +1940,7 @@ var DefaultMysqlInboxRunner = class {
1940
1940
  async process() {
1941
1941
  const uow = await this.uowFactory.create();
1942
1942
  const inboxRepository = new InboxMysqlRepository(uow.connection);
1943
- await uow.execute(async () => {
1943
+ return await uow.execute(async () => {
1944
1944
  for (let topic of this.topics) {
1945
1945
  try {
1946
1946
  this.eventManager.route(topic, async (e) => {
@@ -1950,6 +1950,7 @@ var DefaultMysqlInboxRunner = class {
1950
1950
  console.log(error.toString());
1951
1951
  }
1952
1952
  }
1953
+ await this.eventManager.start();
1953
1954
  });
1954
1955
  }
1955
1956
  async start() {