Comments (5)
Hi @rualatngua which hemera version are you using? Please double check it. The code looks good to me. At the moment I can't test it. I will investigate in few days but thanks for reporting.
from hemera.
I took the package from npm repo. Here is a sample from my package.json:
{
"dependencies": {
...
"hemera": "0.0.5",
"hemera-joi": "^1.1.13",
"hemera-rabbitmq": "0.0.38",
"nats": "^0.7.20",
"nats-hemera": "^1.3.23",
...
},
"devDependencies": {
"@types/bluebird": "^3.5.8",
"@types/colors": "^1.1.3",
"@types/lodash": "^4.14.71",
"@types/node": "^8.0.15",
"typescript": "^2.4.2"
},
...
}
I tried a million time at least :)
from hemera.
Hi @remipassmoilesel examples\basic\async-await.js
works fine:
node .\examples\basic\async-await.js
[2017-07-29T15:23:04.283Z] INFO (hemera-starptech-ca429596ff6643fbac282a4106dac73f/15336 on starptech): Connected!
[2017-07-29T15:23:04.287Z] INFO (hemera-starptech-ca429596ff6643fbac282a4106dac73f/15336 on starptech): ADD - ADDED
topic: "math"
cmd: "add"
test
and https://github.com/hemerajs/hemera#what-hemera-code-looks-like
works too
[2017-07-29T15:22:08.997Z] INFO (hemera-starptech-e15570baf9c44316bd4b5e3bcc5f964c/2056 on starptech): hemera-joi PLUGIN - ADDED!
[2017-07-29T15:22:09.004Z] INFO (hemera-starptech-e15570baf9c44316bd4b5e3bcc5f964c/2056 on starptech): Connected!
[2017-07-29T15:22:09.007Z] INFO (hemera-starptech-e15570baf9c44316bd4b5e3bcc5f964c/2056 on starptech): ADD - ADDED
topic: "math"
cmd: "add"
[2017-07-29T15:22:09.017Z] INFO (hemera-starptech-e15570baf9c44316bd4b5e3bcc5f964c/2056 on starptech):
0: 40
1: 70
Hemera: 1.3.23
Hemera-Joi: 1.1.13
Nats: 0.7.20
I saw that you have a dependency called hemera
this is invalid I think thats a typo right? Could you please post your code examples that reproduce the timeout? Thanks
from hemera.
@remipassmoilesel any feedback?
from hemera.
I tried another time but this time on my personnal computer and it work :) Sorry for the noise.
Maybe it is a platform specific problem but I am very surprised about that, I tried many different ways.
If I find something interesting I will tell you back.
from hemera.
Related Issues (20)
- Logging id HOT 15
- Direct communication ? HOT 3
- stats plugin not returning all actions HOT 7
- Does hemera.close() killall running jobs? HOT 2
- TypeError when defining custom Pino logger HOT 1
- Why https://hemerajs.github.io/hemera/docs/reference.html contains not documentation for add() function. HOT 3
- Adding hemera to Docusaurus users page HOT 3
- Unsubscribe by RegExp HOT 9
- Unable to subscribe to NATS topic when the publisher is not running on Hemera HOT 1
- Client Timeout HOT 3
- hemera-ajv doesnt seem to be working correctly HOT 4
- Hemera-blipp has old hemera version HOT 3
- Have you looked into ts-nats? HOT 3
- How to reply from middleware or extension? HOT 5
- Looking for maintainers and collaborators HOT 5
- NATS disconnection question HOT 1
- Calling reply.send inside async middleware doesn't stop the chain HOT 2
- Typescript support HOT 1
- hemera-zipkin package missing HOT 3
- Any way to unregister an extension? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hemera.