Sha256: 166da80f79916d5a46339abba321146b5aff87342faec479533504320dacc40c

Contents?: true

Size: 837 Bytes

Versions: 15

Compression:

Stored size: 837 Bytes

Contents

#Test Service
This is the test service. Used for various specs

#Requests
  * `test_sync` - Will send you a synchronous response via the event `test_sync_res` that contains
    the same parameters that you sent
  * `test_async` - Will send you a synchronous response via the event `test_async_res` that contains
e.g.

###`test_sync`
```ruby
on_entry %{
  var info = {
    foo: "bar"
  }
  Request("test", "test_sync", info);
}

#This is called immediately
on "test_sync_res", %{
  test_sync_res_params = params; //params will equal {foo: "bar"}
}
```

###`test_async`
```ruby
on_entry %{
  var info = {
    foo: "bar"
  }
  Request("test", "test_async", info);
}

#This is called after the next int_event comes through via int_event_defer
on "test_async_res", %{
  test_async_res_params = params; //params will equal {foo: "bar"}
}
```

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
flok-0.0.73 docs/services/test.md
flok-0.0.72 docs/services/test.md
flok-0.0.71 docs/services/test.md
flok-0.0.70 docs/services/test.md
flok-0.0.69 docs/services/test.md
flok-0.0.68 docs/services/test.md
flok-0.0.67 docs/services/test.md
flok-0.0.66 docs/services/test.md
flok-0.0.65 docs/services/test.md
flok-0.0.64 docs/services/test.md
flok-0.0.63 docs/services/test.md
flok-0.0.62 docs/services/test.md
flok-0.0.61 docs/services/test.md
flok-0.0.60 docs/services/test.md
flok-0.0.57 docs/services/test.md