README.md in faastruby-rpc-0.2.5 vs README.md in faastruby-rpc-0.2.6

- old
+ new

@@ -1,15 +1,16 @@ +![faastRuby](https://faastruby.io/wp-content/uploads/2019/03/logo-positive.png) # faastruby-rpc -Wrapper to make it easy to call FaaStRuby functions. +Wrapper to make it easy to call faastRuby functions. -#### What is FaaStRuby? -FaaStRuby is a serverless platform built for Ruby developers. +#### What is faastRuby? +faastRuby is a serverless software development platform for Ruby and Crystal. -* [Tutorial](https://faastruby.io/getting-started) +* [Tutorial](https://faastruby.io/docs/faastruby-local) -## Calling functions from within a function (RPC calls) +## Calling functions from within a function asynchronously To call another function you must first require it on the top of `handler.rb`, passing a string that will be converted to a constant. You then use the constant to call the function and get its response. To call the function, use the method `call`. Here is an example. @@ -55,10 +56,10 @@ render text: "Hello, #{name}!" # calling 'name' will block until Echo returns end ``` You can use positional or keyword arguments when calling external functions, as long as the external function's `handler` method is defined with matching arguments. -This gem is already required when you run your functions in FaaStRuby, or using `faastruby server`. +This gem is already required when you run your functions in faastRuby, or using `faastruby server`. ## Running code when the invoked function responds If you pass a block when you call another function, the block will execute as soon as the response arrives. For example: ```ruby