Sha256: 52c038dfd803753d1c23dc06104b98ef93cd980e668319546e92d81e938eb310

Contents?: true

Size: 358 Bytes

Versions: 32

Compression:

Stored size: 358 Bytes

Contents

controller :my_controller do
  services :vm

  on_entry %{
    read_res_params = [];
  }

  action :my_action do
    on_entry %{
      var watch_info = {
        ns: "sockio",
        id: "test", 
      };

      Request("vm", "watch", watch_info);
    }

    on "read_res", %{
      read_res_params.push(JSON.parse(JSON.stringify(params)));
    }
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

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