Sha256: 3311a02038d4851a7aa4e6cf46c08ddd02a96c7f2cb3e33e8cea17e543e10a4c

Contents?: true

Size: 414 Bytes

Versions: 64

Compression:

Stored size: 414 Bytes

Contents

service :my_service do
  on_wakeup %{
    on_wakeup_called = '#{@options[:hello]}';
  }

  on_sleep %{
    on_sleep_called = true;
  }

  on_connect %{
    on_connect_called_bp = bp;
  }

  on_disconnect %{
    on_disconnect_called_bp = bp;
  }

  on "hello", %{
    on_hello_called_bp = bp;
    on_hello_called_params = JSON.stringify(params);
  }

  every 5.seconds, %{
    on_every_5_sec_called = true;
  }
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
flok-0.0.105 spec/etc/service_compiler/service1.rb
flok-0.0.103 spec/etc/service_compiler/service1.rb
flok-0.0.102 spec/etc/service_compiler/service1.rb
flok-0.0.101 spec/etc/service_compiler/service1.rb
flok-0.0.100 spec/etc/service_compiler/service1.rb
flok-0.0.99 spec/etc/service_compiler/service1.rb
flok-0.0.98 spec/etc/service_compiler/service1.rb
flok-0.0.97 spec/etc/service_compiler/service1.rb
flok-0.0.96 spec/etc/service_compiler/service1.rb
flok-0.0.95 spec/etc/service_compiler/service1.rb
flok-0.0.94 spec/etc/service_compiler/service1.rb
flok-0.0.93 spec/etc/service_compiler/service1.rb
flok-0.0.92 spec/etc/service_compiler/service1.rb
flok-0.0.91 spec/etc/service_compiler/service1.rb
flok-0.0.90 spec/etc/service_compiler/service1.rb
flok-0.0.89 spec/etc/service_compiler/service1.rb
flok-0.0.88 spec/etc/service_compiler/service1.rb
flok-0.0.87 spec/etc/service_compiler/service1.rb
flok-0.0.86 spec/etc/service_compiler/service1.rb
flok-0.0.85 spec/etc/service_compiler/service1.rb