Skip to content
This repository was archived by the owner on Oct 10, 2018. It is now read-only.
This repository was archived by the owner on Oct 10, 2018. It is now read-only.

why does the generator.js sendMessage not work #63

@sulv

Description

@sulv

code like this :

module.exports = { beforeConnect : function (client) { }, onConnect : function (client, done) { client.emit('sendMsg', { hello: 'world' }); done(); }, sendMessage : function (client, done) { client.emit('sendMsg', { hello: 'world' }); done(); } };

when i emit msg in onConnect fun it works, but in sendMessage function it does not work ? why

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions