Sha256: 178e6a6a3471fa984f5c0fb40a664d1d863180f4d1a6343c98e1398f7f97b405

Contents?: true

Size: 435 Bytes

Versions: 64

Compression:

Stored size: 435 Bytes

Contents

service :my_service do
  on_wakeup %{
  }

  on_sleep %{
  }

  on_connect %{
    connect_bp = bp;
    connect_sessions = Object.keys(sessions);
  }

  on_disconnect %{
    disconnect_bp = bp;
    disconnect_sessions = Object.keys(sessions);
  }

  every 1.seconds, %{
    every_ticks_sessions = Object.keys(sessions);
  }

  on "ping", %{
    ping_bp = bp;
    ping_params = params;
    ping_sessions = Object.keys(sessions);
  }
end

Version data entries

64 entries across 64 versions & 1 rubygems

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