Sha256: 35aaabb42bb381956c9e71f1ad57eb12e61e8aa62c2e4f983523ba2a6d50fecb

Contents?: true

Size: 426 Bytes

Versions: 31

Compression:

Stored size: 426 Bytes

Contents

service :test do
  global %{
    test_service_connected = {};

    function <%= @name %>_function(x) {
      <%= @name %>_function_args = x;
    }
  }

  on_connect %{
    test_service_connected[bp] = true;
  }

  on_disconnect %{
    delete test_service_connected[bp];
  }

  on "test_sync", %{
    int_event(bp, "test_sync_res", params);
  }

  on "test_async", %{
    int_event_defer(bp, "test_async_res", params);
  }
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
flok-0.0.105 app/kern/services/test.rb
flok-0.0.103 app/kern/services/test.rb
flok-0.0.102 app/kern/services/test.rb
flok-0.0.101 app/kern/services/test.rb
flok-0.0.100 app/kern/services/test.rb
flok-0.0.99 app/kern/services/test.rb
flok-0.0.98 app/kern/services/test.rb
flok-0.0.97 app/kern/services/test.rb
flok-0.0.96 app/kern/services/test.rb
flok-0.0.95 app/kern/services/test.rb
flok-0.0.94 app/kern/services/test.rb
flok-0.0.93 app/kern/services/test.rb
flok-0.0.92 app/kern/services/test.rb
flok-0.0.91 app/kern/services/test.rb
flok-0.0.90 app/kern/services/test.rb
flok-0.0.89 app/kern/services/test.rb
flok-0.0.88 app/kern/services/test.rb
flok-0.0.87 app/kern/services/test.rb
flok-0.0.86 app/kern/services/test.rb
flok-0.0.85 app/kern/services/test.rb