Permalink
Browse files

[bump] stable version 0.2.0

  • Loading branch information...
1 parent afe20bc commit ffa71cfa869b61ff334e96807e28acc6a2a4a76f @AndreasMadsen committed Feb 9, 2012
Showing with 6 additions and 11 deletions.
  1. +5 −10 README.md
  2. +1 −1 package.json
View
@@ -1,18 +1,13 @@
#thintalk
-###Please NOTE:
-
-> This module is not yet stable, but will be it very soon.
-> Until version 0.2.0 use it on own risk.
-
**Thintalk is a thin RPC layer over different transport layers.**
> RPC is an acronyms for _Remote procedure call_, meaning that the protocol is
> a simple function request with function arguments, and the response will be
> arguments parsed to an callback.
> The result is you can call code on the _server_ without transferee the entire
> function source code.
->
+>
> The benefits of `thintalk` compared to `nowJS` or `dnode` is that this is very
> thin resulting in minimal overhead. However the cost is that this module is not
> meant to be used in combination with none-node clients like browsers.
@@ -55,11 +50,11 @@ lisenter.listen('IPC', require('child_process').fork('./child.js'));
var thintalk = require('thintalk');
var requester = thintalk(function (remote) {
-
+
remote.add(2, 4, function (result) {
console.log(result); // 6
});
-
+
}).connect('TCP', 4000);
requester.on('error', function (err) {
@@ -73,11 +68,11 @@ requester.on('error', function (err) {
var thintalk = require('thintalk');
var requester = thintalk(function (remote) {
-
+
remote.add(2, 4, function (result) {
console.log(result); // 6
});
-
+
}).connect('TCP', 4000);
requester.on('error', function (err) {
View
@@ -1,7 +1,7 @@
{
"name": "thintalk",
"description": "Very thin RPC layer using TPC and IPC",
- "version": "0.1.0",
+ "version": "0.2.0",
"author": "Andreas Madsen <amwebdk@gmail.com>",
"scripts": {
"test": "vows test/simple/* --spec --isolate"

0 comments on commit ffa71cf

Please sign in to comment.