jstp / node-jstp

JSTP implementation in Node.js
2 stars 2 forks source link

No context subscriptions #8

Closed xaviervia closed 10 years ago

xaviervia commented 11 years ago

What happens if a subscription is made and a callback is passed but there is no context? Should node-jstp call the callback without providing any context? How does Node.js behave in this case?

xaviervia commented 11 years ago

Node.js behaves just fine, but node-jstp never calls bound endpoints with no context. This has to be corrrected.

xaviervia commented 11 years ago

Both the context and the callback are optionals. This has to be corrected.

xaviervia commented 10 years ago

Solved in 2.0