-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Examples #79
Examples #79
Conversation
could you please emphasize the line that it depends on basic and entity plugins? |
@@ -0,0 +1,30 @@ | |||
var seneca = require('seneca')() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 similar comments
Parameter names need rename as Dean pointed out. |
seneca.ready((msg, done) => { | ||
seneca.act({role: 'user', cmd: 'register', name: "Flann O'Brien", email: 'nincompoop@deselby.com', password: 'blackair'}, | ||
(msg, done) => { | ||
if (msg) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, it's err, reply
not msg, done for seneca.acts
Detailed examples now provided by seneca-msg-test unit tests |
No description provided.