EmitAsync doesn't work
See original GitHub issueHello,
When I do an EmitAsync of an event to receive it in my nodeJS server I get nothing no events go off, I have tried all of them, do you have a solution to make this work?
C# :
client.OnConnected += async (a, b) => {
await client.EmitAsync("hi", "Je suis connecté");
};
await client.ConnectAsync();
NodeJS :
socket.on("hi", name => {
console.log("hello");
});
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Unable to send EmitAsync · Issue #24 · doghappy/socket.io ...
Im unable to emit event, as the_namespace is null and i receive an exception var client = new SocketIO("https://socket.stex.com/"); client.
Read more >Using async in event emitter - node.js
That didn't seem to work as that was my first try. Events dont run async. Perhaps i made a coding error if you...
Read more >@xen-orchestra/emit-async - npm package | Snyk
Is your project affected by vulnerabilities? Scan your projects for vulnerabilities. Fix quickly with automated fixes. Get started with Snyk for free.
Read more >Events | NestJS - A progressive Node.js framework
Event Emitter package ( @nestjs/event-emitter ) provides a simple observer implementation, allowing you to subscribe and listen for various events that occur in ......
Read more >How connect to the Laravel websocket? - Microsoft Q&A
On the client open a Powershell prompt and run this test using the name or IP address of the server. Copy. Test-NetConnection -ComputerName ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve check back my server config and this problem was resolved.
Please provide more information