Skip to content

Question: What is cb in the wit.js file? #13

@neeraj87

Description

@neeraj87

I am trying to understand your project and write my own code (instead of just cloning your repo and using it for my bot). I am confused on what the cb() function is in the wit.js file?

Another thing is that I am facing Syntax Error issues on many places where you have used ECMAScript. For example in the wit.js, its giving me trouble at the

say (sessionId, context, message, cb)

Is there anything I can do to fix this? I am not sure what the alternate for this code would be.

PS: Expect more questions to follow. Thanks :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions