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.41 spec/etc/service_compiler/service1.rb
flok-0.0.40 spec/etc/service_compiler/service1.rb
flok-0.0.39 spec/etc/service_compiler/service1.rb
flok-0.0.38 spec/etc/service_compiler/service1.rb