cry-ebus2 3.1.22 → 3.1.24

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.
Files changed (261) hide show
  1. package/dist/EbusClientEvents.d.mts +5 -0
  2. package/dist/EbusClientEvents.d.mts.map +1 -0
  3. package/dist/EbusClientEvents.mjs +2 -0
  4. package/dist/EbusClientEvents.mjs.map +1 -0
  5. package/dist/EbusConfiguration.d.mts +17 -0
  6. package/dist/EbusConfiguration.d.mts.map +1 -0
  7. package/dist/EbusConfiguration.mjs +2 -0
  8. package/dist/EbusConfiguration.mjs.map +1 -0
  9. package/dist/EbusReject.d.mts +11 -0
  10. package/dist/EbusReject.d.mts.map +1 -0
  11. package/dist/EbusReject.mjs +12 -0
  12. package/dist/EbusReject.mjs.map +1 -0
  13. package/dist/EbusRejectReason.d.mts +2 -0
  14. package/dist/EbusRejectReason.d.mts.map +1 -0
  15. package/dist/EbusRejectReason.d.ts +1 -1
  16. package/dist/EbusRejectReason.d.ts.map +1 -1
  17. package/dist/EbusRejectReason.mjs +2 -0
  18. package/dist/EbusRejectReason.mjs.map +1 -0
  19. package/dist/EbusRequestOptions.d.mts +8 -0
  20. package/dist/EbusRequestOptions.d.mts.map +1 -0
  21. package/dist/EbusRequestOptions.mjs +2 -0
  22. package/dist/EbusRequestOptions.mjs.map +1 -0
  23. package/dist/EbusUnpackedResult.d.mts +10 -0
  24. package/dist/EbusUnpackedResult.d.mts.map +1 -0
  25. package/dist/EbusUnpackedResult.mjs +19 -0
  26. package/dist/EbusUnpackedResult.mjs.map +1 -0
  27. package/dist/block.d.mts +2 -0
  28. package/dist/block.d.mts.map +1 -0
  29. package/dist/block.mjs +6 -0
  30. package/dist/block.mjs.map +1 -0
  31. package/dist/broker.d.mts +42 -0
  32. package/dist/broker.d.mts.map +1 -0
  33. package/dist/broker.mjs +288 -0
  34. package/dist/broker.mjs.map +1 -0
  35. package/dist/client.d.mts +2 -0
  36. package/dist/client.d.mts.map +1 -0
  37. package/dist/client.mjs +2 -0
  38. package/dist/client.mjs.map +1 -0
  39. package/dist/clientBlocking.d.mts +27 -0
  40. package/dist/clientBlocking.d.mts.map +1 -0
  41. package/dist/clientBlocking.mjs +173 -0
  42. package/dist/clientBlocking.mjs.map +1 -0
  43. package/dist/clientNonBlocking.d.mts +46 -0
  44. package/dist/clientNonBlocking.d.mts.map +1 -0
  45. package/dist/clientNonBlocking.js +6 -6
  46. package/dist/clientNonBlocking.js.map +1 -1
  47. package/dist/clientNonBlocking.mjs +275 -0
  48. package/dist/clientNonBlocking.mjs.map +1 -0
  49. package/dist/consts.d.mts +3 -0
  50. package/dist/consts.d.mts.map +1 -0
  51. package/dist/consts.mjs +17 -0
  52. package/dist/consts.mjs.map +1 -0
  53. package/dist/deferredPromise.d.mts +36 -0
  54. package/dist/deferredPromise.d.mts.map +1 -0
  55. package/dist/deferredPromise.js +5 -4
  56. package/dist/deferredPromise.js.map +1 -1
  57. package/dist/deferredPromise.mjs +57 -0
  58. package/dist/deferredPromise.mjs.map +1 -0
  59. package/dist/delayWorker.d.mts +10 -0
  60. package/dist/delayWorker.d.mts.map +1 -0
  61. package/dist/delayWorker.mjs +17 -0
  62. package/dist/delayWorker.mjs.map +1 -0
  63. package/dist/echoWorker.d.mts +6 -0
  64. package/dist/echoWorker.d.mts.map +1 -0
  65. package/dist/echoWorker.js +1 -1
  66. package/dist/echoWorker.js.map +1 -1
  67. package/dist/echoWorker.mjs +15 -0
  68. package/dist/echoWorker.mjs.map +1 -0
  69. package/dist/errorWorker.d.mts +11 -0
  70. package/dist/errorWorker.d.mts.map +1 -0
  71. package/dist/errorWorker.mjs +14 -0
  72. package/dist/errorWorker.mjs.map +1 -0
  73. package/dist/index.d.mts +19 -0
  74. package/dist/index.d.mts.map +1 -0
  75. package/dist/index.mjs +16 -0
  76. package/dist/index.mjs.map +1 -0
  77. package/dist/loadConfiguration.d.mts +3 -0
  78. package/dist/loadConfiguration.d.mts.map +1 -0
  79. package/dist/loadConfiguration.mjs +9 -0
  80. package/dist/loadConfiguration.mjs.map +1 -0
  81. package/dist/pub.d.mts +11 -0
  82. package/dist/pub.d.mts.map +1 -0
  83. package/dist/pub.mjs +22 -0
  84. package/dist/pub.mjs.map +1 -0
  85. package/dist/rejectWorker.d.mts +11 -0
  86. package/dist/rejectWorker.d.mts.map +1 -0
  87. package/dist/rejectWorker.mjs +14 -0
  88. package/dist/rejectWorker.mjs.map +1 -0
  89. package/dist/run/all.d.mts +2 -0
  90. package/dist/run/all.d.mts.map +1 -0
  91. package/dist/run/all.mjs +13 -0
  92. package/dist/run/all.mjs.map +1 -0
  93. package/dist/run/broker.mjs +1 -1
  94. package/dist/run/broker.mjs.map +1 -1
  95. package/dist/run/call.d.mts +2 -0
  96. package/dist/run/call.d.mts.map +1 -0
  97. package/dist/run/call.js +4 -3
  98. package/dist/run/call.js.map +1 -1
  99. package/dist/run/call.mjs +77 -0
  100. package/dist/run/call.mjs.map +1 -0
  101. package/dist/run/calling.d.mts +2 -0
  102. package/dist/run/calling.d.mts.map +1 -0
  103. package/dist/run/calling.mjs +94 -0
  104. package/dist/run/calling.mjs.map +1 -0
  105. package/dist/run/callingBurst.d.mts +2 -0
  106. package/dist/run/callingBurst.d.mts.map +1 -0
  107. package/dist/run/callingBurst.mjs +41 -0
  108. package/dist/run/callingBurst.mjs.map +1 -0
  109. package/dist/run/delay.mjs +1 -1
  110. package/dist/run/delay.mjs.map +1 -1
  111. package/dist/run/echo.mjs +1 -1
  112. package/dist/run/echo.mjs.map +1 -1
  113. package/dist/run/error.mjs +1 -1
  114. package/dist/run/error.mjs.map +1 -1
  115. package/dist/run/ping.mjs +2 -2
  116. package/dist/run/ping.mjs.map +1 -1
  117. package/dist/run/pub.d.mts +2 -0
  118. package/dist/run/pub.d.mts.map +1 -0
  119. package/dist/run/pub.mjs +28 -0
  120. package/dist/run/pub.mjs.map +1 -0
  121. package/dist/run/reject.d.mts +2 -0
  122. package/dist/run/reject.d.mts.map +1 -0
  123. package/dist/run/reject.mjs +5 -0
  124. package/dist/run/reject.mjs.map +1 -0
  125. package/dist/run/sub.d.mts +2 -0
  126. package/dist/run/sub.d.mts.map +1 -0
  127. package/dist/run/sub.mjs +88 -0
  128. package/dist/run/sub.mjs.map +1 -0
  129. package/dist/run/termimalCommands.d.mts +33 -0
  130. package/dist/run/termimalCommands.d.mts.map +1 -0
  131. package/dist/run/termimalCommands.mjs +33 -0
  132. package/dist/run/termimalCommands.mjs.map +1 -0
  133. package/dist/run/workers.d.mts +2 -0
  134. package/dist/run/workers.d.mts.map +1 -0
  135. package/dist/run/workers.mjs +36 -0
  136. package/dist/run/workers.mjs.map +1 -0
  137. package/dist/serialize.d.mts +4 -0
  138. package/dist/serialize.d.mts.map +1 -0
  139. package/dist/serialize.mjs +26 -0
  140. package/dist/serialize.mjs.map +1 -0
  141. package/dist/service.d.mts +23 -0
  142. package/dist/service.d.mts.map +1 -0
  143. package/dist/service.mjs +108 -0
  144. package/dist/service.mjs.map +1 -0
  145. package/dist/sleep.d.mts +2 -0
  146. package/dist/sleep.d.mts.map +1 -0
  147. package/dist/sleep.mjs +6 -0
  148. package/dist/sleep.mjs.map +1 -0
  149. package/dist/sub.d.mts +24 -0
  150. package/dist/sub.d.mts.map +1 -0
  151. package/dist/sub.mjs +68 -0
  152. package/dist/sub.mjs.map +1 -0
  153. package/dist/test/config.d.mts +2 -0
  154. package/dist/test/config.d.mts.map +1 -0
  155. package/dist/test/config.mjs +23 -0
  156. package/dist/test/config.mjs.map +1 -0
  157. package/dist/test/echo.d.mts +2 -0
  158. package/dist/test/echo.d.mts.map +1 -0
  159. package/dist/test/echo.mjs +54 -0
  160. package/dist/test/echo.mjs.map +1 -0
  161. package/dist/test/index.d.mts +2 -0
  162. package/dist/test/index.d.mts.map +1 -0
  163. package/dist/test/index.mjs +47 -0
  164. package/dist/test/index.mjs.map +1 -0
  165. package/dist/test/pack.d.mts +2 -0
  166. package/dist/test/pack.d.mts.map +1 -0
  167. package/dist/test/pack.mjs +1444 -0
  168. package/dist/test/pack.mjs.map +1 -0
  169. package/dist/test/performance.d.mts +2 -0
  170. package/dist/test/performance.d.mts.map +1 -0
  171. package/dist/test/performance.mjs +44 -0
  172. package/dist/test/performance.mjs.map +1 -0
  173. package/dist/test/pub.d.mts +2 -0
  174. package/dist/test/pub.d.mts.map +1 -0
  175. package/dist/test/pub.mjs +57 -0
  176. package/dist/test/pub.mjs.map +1 -0
  177. package/dist/test/pub2.d.mts +2 -0
  178. package/dist/test/pub2.d.mts.map +1 -0
  179. package/dist/test/pub2.mjs +23 -0
  180. package/dist/test/pub2.mjs.map +1 -0
  181. package/dist/test/reject.d.mts +2 -0
  182. package/dist/test/reject.d.mts.map +1 -0
  183. package/dist/test/reject.mjs +33 -0
  184. package/dist/test/reject.mjs.map +1 -0
  185. package/dist/test/services.d.mts +2 -0
  186. package/dist/test/services.d.mts.map +1 -0
  187. package/dist/test/services.mjs +44 -0
  188. package/dist/test/services.mjs.map +1 -0
  189. package/dist/test/stress.d.mts +2 -0
  190. package/dist/test/stress.d.mts.map +1 -0
  191. package/dist/test/stress.mjs +26 -0
  192. package/dist/test/stress.mjs.map +1 -0
  193. package/dist/test/timing.d.mts +2 -0
  194. package/dist/test/timing.d.mts.map +1 -0
  195. package/dist/test/timing.mjs +68 -0
  196. package/dist/test/timing.mjs.map +1 -0
  197. package/dist/types.d.mts +23 -0
  198. package/dist/types.d.mts.map +1 -0
  199. package/dist/types.js +2 -2
  200. package/dist/types.js.map +1 -1
  201. package/dist/types.mjs +25 -0
  202. package/dist/types.mjs.map +1 -0
  203. package/dist/worker.d.mts +27 -0
  204. package/dist/worker.d.mts.map +1 -0
  205. package/dist/worker.mjs +219 -0
  206. package/dist/worker.mjs.map +1 -0
  207. package/package.json +15 -18
  208. package/src/{EbusReject.ts → EbusReject.mts} +1 -1
  209. package/src/{EbusUnpackedResult.ts → EbusUnpackedResult.mts} +3 -3
  210. package/src/{broker.ts → broker.mts} +6 -6
  211. package/src/{client.ts → client.mts} +1 -1
  212. package/src/{clientBlocking.ts → clientBlocking.mts} +8 -8
  213. package/src/{clientNonBlocking.ts → clientNonBlocking.mts} +9 -9
  214. package/src/{consts.ts → consts.mts} +1 -1
  215. package/src/{delayWorker.ts → delayWorker.mts} +3 -3
  216. package/src/{echoWorker.ts → echoWorker.mts} +3 -3
  217. package/src/{errorWorker.ts → errorWorker.mts} +3 -3
  218. package/src/index.mts +19 -0
  219. package/src/{loadConfiguration.ts → loadConfiguration.mts} +2 -2
  220. package/src/{pub.ts → pub.mts} +3 -3
  221. package/src/{rejectWorker.ts → rejectWorker.mts} +3 -3
  222. package/src/run/all.mts +14 -0
  223. package/src/run/broker.mts +1 -1
  224. package/src/run/{call.ts → call.mts} +7 -4
  225. package/src/run/{calling.ts → calling.mts} +2 -2
  226. package/src/run/{callingBurst.ts → callingBurst.mts} +2 -2
  227. package/src/run/delay.mts +1 -1
  228. package/src/run/echo.mts +1 -1
  229. package/src/run/error.mts +1 -1
  230. package/src/run/ping.mts +3 -3
  231. package/src/run/{pub.ts → pub.mts} +1 -1
  232. package/src/run/{reject.ts → reject.mts} +1 -1
  233. package/src/run/{sub.ts → sub.mts} +2 -2
  234. package/src/run/{workers.ts → workers.mts} +1 -1
  235. package/src/{serialize.ts → serialize.mts} +1 -1
  236. package/src/{service.ts → service.mts} +1 -1
  237. package/src/{sub.ts → sub.mts} +3 -3
  238. package/src/test/{config.ts → config.mts} +3 -3
  239. package/src/test/{echo.ts → echo.mts} +4 -4
  240. package/src/test/{pack.ts → pack.mts} +1 -1
  241. package/src/test/{performance.ts → performance.mts} +4 -4
  242. package/src/test/{pub.ts → pub.mts} +6 -6
  243. package/src/test/{pub2.ts → pub2.mts} +4 -4
  244. package/src/test/{reject.ts → reject.mts} +4 -4
  245. package/src/test/{services.ts → services.mts} +3 -3
  246. package/src/test/{stress.ts → stress.mts} +2 -2
  247. package/src/test/{timing.ts → timing.mts} +5 -5
  248. package/src/{worker.ts → worker.mts} +7 -7
  249. package/src/index.ts +0 -19
  250. package/src/run/all.ts +0 -14
  251. /package/src/{EbusClientEvents.ts → EbusClientEvents.mts} +0 -0
  252. /package/src/{EbusConfiguration.ts → EbusConfiguration.mts} +0 -0
  253. /package/src/{EbusRejectReason.ts → EbusRejectReason.mts} +0 -0
  254. /package/src/{EbusRequestOptions.ts → EbusRequestOptions.mts} +0 -0
  255. /package/src/{block.ts → block.mts} +0 -0
  256. /package/src/{deferredPromise.ts → deferredPromise.mts} +0 -0
  257. /package/src/run/{termimalCommands.ts → termimalCommands.mts} +0 -0
  258. /package/src/{sleep.ts → sleep.mts} +0 -0
  259. /package/src/src/{notepack.d.ts → notepack.d.mts} +0 -0
  260. /package/src/test/{index.ts → index.mts} +0 -0
  261. /package/src/{types.ts → types.mts} +0 -0
@@ -1,7 +1,7 @@
1
1
 
2
2
  import { config } from "dotenv";
3
3
  import { Command } from "commander"
4
- import { Client } from "../client.js";
4
+ import { Client } from "../client.mjs";
5
5
 
6
6
  const program = new Command()
7
7
 
@@ -1,7 +1,7 @@
1
1
 
2
2
  import { serialize } from "cry-helpers";
3
3
  import { deflateRaw, inflateRaw } from "pako";
4
- import { EbusRequestOptions } from "./EbusRequestOptions.js";
4
+ import { EbusRequestOptions } from "./EbusRequestOptions.mjs";
5
5
  import notepack from "notepack.io"
6
6
 
7
7
  export function pack(data: any, opts: Partial<EbusRequestOptions>)
@@ -1,6 +1,6 @@
1
1
  import { Log } from "cry-helpers"
2
2
  import { Router } from "zeromq"
3
- import { Header, Message } from "./types.js"
3
+ import { Header, Message } from "./types.mjs"
4
4
  const prefixes = ["EBUS_BROKER", "EBUS"]
5
5
  const log = new Log(prefixes)
6
6
  export class Service {
@@ -1,9 +1,9 @@
1
1
  import { Log } from "cry-helpers"
2
2
  import { TypedEmitter } from "tiny-typed-emitter"
3
3
  import { Subscriber } from "zeromq"
4
- import { EbusConfiguration } from "./EbusConfiguration.js"
5
- import { loadConfiguration } from "./loadConfiguration.js"
6
- import { unpack } from "./serialize.js"
4
+ import { EbusConfiguration } from "./EbusConfiguration.mjs"
5
+ import { loadConfiguration } from "./loadConfiguration.mjs"
6
+ import { unpack } from "./serialize.mjs"
7
7
 
8
8
  const prefixes = ["EBUS_SUB", "EBUS"]
9
9
  const log = new Log(prefixes)
@@ -1,8 +1,8 @@
1
1
 
2
2
  import { expect } from "chai";
3
- import { Client } from "../client.js";
4
- import { EchoWorker } from "../echoWorker.js";
5
- import { Broker, DelayWorker } from "../index.js";
3
+ import { Client } from "../client.mjs";
4
+ import { EchoWorker } from "../echoWorker.mjs";
5
+ import { Broker, DelayWorker } from "../index.mjs";
6
6
 
7
7
  describe('services', async function () {
8
8
 
@@ -1,9 +1,9 @@
1
1
 
2
2
  import { expect } from "chai"
3
- import { Client } from "../client.js";
4
- import { EbusUnpackedResult } from "../EbusUnpackedResult.js";
5
- import { EchoWorker } from "../echoWorker.js";
6
- import { Broker, DelayWorker, unpack, pack } from "../index.js";
3
+ import { Client } from "../client.mjs";
4
+ import { EbusUnpackedResult } from "../EbusUnpackedResult.mjs";
5
+ import { EchoWorker } from "../echoWorker.mjs";
6
+ import { Broker, DelayWorker, unpack, pack } from "../index.mjs";
7
7
 
8
8
  describe('echo worker', async function () {
9
9
 
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { expect } from "chai";
3
- import { unpack, pack } from "../index.js";
3
+ import { unpack, pack } from "../index.mjs";
4
4
 
5
5
  const largeArray = () => [
6
6
  /* 1 */
@@ -1,8 +1,8 @@
1
1
 
2
- import { Client } from "../client.js";
3
- import { EbusRequestOptions } from "../EbusRequestOptions.js";
4
- import { EchoWorker } from "../echoWorker.js";
5
- import { Broker, DelayWorker, unpack, pack } from "../index.js";
2
+ import { Client } from "../client.mjs";
3
+ import { EbusRequestOptions } from "../EbusRequestOptions.mjs";
4
+ import { EchoWorker } from "../echoWorker.mjs";
5
+ import { Broker, DelayWorker, unpack, pack } from "../index.mjs";
6
6
 
7
7
  describe('performance', async function () {
8
8
 
@@ -1,9 +1,9 @@
1
- import { Client } from "../client.js";
2
- import { EchoWorker } from "../echoWorker.js";
3
- import { ErrorWorker } from "../errorWorker.js";
4
- import { Broker, DelayWorker } from "../index.js";
5
- import { RejectWorker } from "../rejectWorker.js";
6
- import { Sub } from "../sub.js";
1
+ import { Client } from "../client.mjs";
2
+ import { EchoWorker } from "../echoWorker.mjs";
3
+ import { ErrorWorker } from "../errorWorker.mjs";
4
+ import { Broker, DelayWorker } from "../index.mjs";
5
+ import { RejectWorker } from "../rejectWorker.mjs";
6
+ import { Sub } from "../sub.mjs";
7
7
 
8
8
  describe('pub/sub', async function () {
9
9
 
@@ -1,7 +1,7 @@
1
- import { Client } from "../client.js";
2
- import { EchoWorker } from "../echoWorker.js";
3
- import { Broker } from "../index.js";
4
- import { Sub } from "../sub.js";
1
+ import { Client } from "../client.mjs";
2
+ import { EchoWorker } from "../echoWorker.mjs";
3
+ import { Broker } from "../index.mjs";
4
+ import { Sub } from "../sub.mjs";
5
5
 
6
6
  describe('pub/sub', async function () {
7
7
 
@@ -1,9 +1,9 @@
1
1
 
2
2
  import { expect } from "chai"
3
- import { Client } from "../client.js";
4
- import { ErrorWorker } from "../errorWorker.js";
5
- import { Broker } from "../index.js";
6
- import { RejectWorker } from "../rejectWorker.js";
3
+ import { Client } from "../client.mjs";
4
+ import { ErrorWorker } from "../errorWorker.mjs";
5
+ import { Broker } from "../index.mjs";
6
+ import { RejectWorker } from "../rejectWorker.mjs";
7
7
 
8
8
  describe('timing', async function () {
9
9
 
@@ -1,8 +1,8 @@
1
1
 
2
2
  import { expect } from "chai";
3
- import { Client } from "../client.js";
4
- import { EchoWorker } from "../echoWorker.js";
5
- import { Broker, DelayWorker } from "../index.js";
3
+ import { Client } from "../client.mjs";
4
+ import { EchoWorker } from "../echoWorker.mjs";
5
+ import { Broker, DelayWorker } from "../index.mjs";
6
6
 
7
7
  describe('services', async function () {
8
8
 
@@ -1,7 +1,7 @@
1
1
 
2
2
  import { expect } from "chai"
3
- import { Client } from "../client.js";
4
- import { Broker, DelayWorker, unpack, pack } from "../index.js";
3
+ import { Client } from "../client.mjs";
4
+ import { Broker, DelayWorker, unpack, pack } from "../index.mjs";
5
5
 
6
6
  describe('stress', async function () {
7
7
 
@@ -1,10 +1,10 @@
1
1
 
2
2
  import { expect } from "chai"
3
- import { Client } from "../client.js";
4
- import { EchoWorker } from "../echoWorker.js";
5
- import { ErrorWorker } from "../errorWorker.js";
6
- import { RejectWorker } from "../rejectWorker.js";
7
- import { Broker, DelayWorker, unpack, pack } from "../index.js";
3
+ import { Client } from "../client.mjs";
4
+ import { EchoWorker } from "../echoWorker.mjs";
5
+ import { ErrorWorker } from "../errorWorker.mjs";
6
+ import { RejectWorker } from "../rejectWorker.mjs";
7
+ import { Broker, DelayWorker, unpack, pack } from "../index.mjs";
8
8
 
9
9
  describe('timing', async function () {
10
10
 
@@ -1,12 +1,12 @@
1
1
  import { Log , serialize} from "cry-helpers"
2
2
  import { Dealer } from "zeromq"
3
- import { EbusConfiguration } from "./EbusConfiguration.js"
4
- import { EbusRequestOptions } from "./EbusRequestOptions.js"
5
- import { loadConfiguration } from "./loadConfiguration.js"
6
- import { Header, Message } from "./types.js"
7
- import { pack, unpack } from "./serialize.js"
8
- import { sleep } from "./sleep.js"
9
- import { EbusRejectError } from "./EbusReject.js"
3
+ import { EbusConfiguration } from "./EbusConfiguration.mjs"
4
+ import { EbusRequestOptions } from "./EbusRequestOptions.mjs"
5
+ import { loadConfiguration } from "./loadConfiguration.mjs"
6
+ import { Header, Message } from "./types.mjs"
7
+ import { pack, unpack } from "./serialize.mjs"
8
+ import { sleep } from "./sleep.mjs"
9
+ import { EbusRejectError } from "./EbusReject.mjs"
10
10
 
11
11
  const prefixes = ["EBUS_WORKER", "EBUS"]
12
12
  const log = new Log(prefixes)
package/src/index.ts DELETED
@@ -1,19 +0,0 @@
1
- export * from "./broker.js"
2
- export * from "./worker.js"
3
- export * from "./client.js"
4
- export * from "./clientBlocking.js"
5
- export * from "./clientNonBlocking.js"
6
- export * from "./echoWorker.js"
7
- export * from "./delayWorker.js"
8
- export * from "./errorWorker.js"
9
- export * from "./rejectWorker.js"
10
- export * from "./pub.js"
11
- export * from "./sub.js"
12
- export * from "./serialize.js"
13
- export * from "./sleep.js"
14
- export * from "./block.js"
15
-
16
- export { EbusConfiguration } from "./EbusConfiguration.js"
17
- export { EbusRequestOptions } from "./EbusRequestOptions.js"
18
- export { EbusUnpackedResult } from "./EbusUnpackedResult.js"
19
- export { EbusClientEvents } from "./EbusClientEvents.js"
package/src/run/all.ts DELETED
@@ -1,14 +0,0 @@
1
- import { Broker } from "../broker.js";
2
- import { DelayWorker } from "../delayWorker.js";
3
- import { EchoWorker } from "../echoWorker.js";
4
- import { ErrorWorker } from "../errorWorker.js";
5
- import { RejectWorker } from "../rejectWorker.js";
6
-
7
- import { config } from "dotenv"
8
- config()
9
-
10
- new Broker().start()
11
- new EchoWorker().start()
12
- new DelayWorker().start()
13
- new RejectWorker().start()
14
- new ErrorWorker().start()
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes