Sha256: e53963d447a90dcaecf09df5d47898926872d29cefd42ca20ffff6fe7bd5bae3

Contents?: true

Size: 399 Bytes

Versions: 128

Compression:

Stored size: 399 Bytes

Contents

service :my_service do
  on_wakeup %{
    on_wakeup_called = true; 
  }

  on_sleep %{
    on_sleep_called = true;
  }

  on_connect %{
    on_connect_called = true;
  }

  on_disconnect %{
    on_disconnect_called = true;
  }

  every 1.seconds, %{
    for (var i = 0; i < Object.keys(sessions).length; ++i) {
      var bp = Object.keys(sessions)[i];
      int_event(bp, "ping", {});
    }
  }
end

Version data entries

128 entries across 64 versions & 1 rubygems

Version Path
flok-0.0.105 spec/kern/assets/service0.rb
flok-0.0.105 spec/kern/assets/vm/service0.rb
flok-0.0.103 spec/kern/assets/service0.rb
flok-0.0.103 spec/kern/assets/vm/service0.rb
flok-0.0.102 spec/kern/assets/vm/service0.rb
flok-0.0.102 spec/kern/assets/service0.rb
flok-0.0.101 spec/kern/assets/service0.rb
flok-0.0.101 spec/kern/assets/vm/service0.rb
flok-0.0.100 spec/kern/assets/vm/service0.rb
flok-0.0.100 spec/kern/assets/service0.rb
flok-0.0.99 spec/kern/assets/vm/service0.rb
flok-0.0.99 spec/kern/assets/service0.rb
flok-0.0.98 spec/kern/assets/service0.rb
flok-0.0.98 spec/kern/assets/vm/service0.rb
flok-0.0.97 spec/kern/assets/service0.rb
flok-0.0.97 spec/kern/assets/vm/service0.rb
flok-0.0.96 spec/kern/assets/service0.rb
flok-0.0.96 spec/kern/assets/vm/service0.rb
flok-0.0.95 spec/kern/assets/service0.rb
flok-0.0.95 spec/kern/assets/vm/service0.rb