Sha256: 1986f22c3948809d6e81515374b88c2506bc085f96b03ced1c94fba467a55285

Contents?: true

Size: 368 Bytes

Versions: 64

Compression:

Stored size: 368 Bytes

Contents

controller :my_controller do
  services :vm

  action :my_action do
    on_entry %{
      //Send a request
      var info = {
        ns: "user",
        key: "my_key"
      };

      read_res_called_with = [];
      Request("vm", "read", info);
      Request("vm", "watch", info);
    }

    on "read_res", %{
      read_res_called_with.push(params);
    }
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
flok-0.0.84 spec/kern/assets/vm/controller6.rb
flok-0.0.83 spec/kern/assets/vm/controller6.rb
flok-0.0.82 spec/kern/assets/vm/controller6.rb
flok-0.0.81 spec/kern/assets/vm/controller6.rb
flok-0.0.80 spec/kern/assets/vm/controller6.rb
flok-0.0.79 spec/kern/assets/vm/controller6.rb
flok-0.0.78 spec/kern/assets/vm/controller6.rb
flok-0.0.77 spec/kern/assets/vm/controller6.rb
flok-0.0.76 spec/kern/assets/vm/controller6.rb
flok-0.0.75 spec/kern/assets/vm/controller6.rb
flok-0.0.74 spec/kern/assets/vm/controller6.rb
flok-0.0.73 spec/kern/assets/vm/controller6.rb
flok-0.0.72 spec/kern/assets/vm/controller6.rb
flok-0.0.71 spec/kern/assets/vm/controller6.rb
flok-0.0.70 spec/kern/assets/vm/controller6.rb
flok-0.0.69 spec/kern/assets/vm/controller6.rb
flok-0.0.68 spec/kern/assets/vm/controller6.rb
flok-0.0.67 spec/kern/assets/vm/controller6.rb
flok-0.0.66 spec/kern/assets/vm/controller6.rb
flok-0.0.65 spec/kern/assets/vm/controller6.rb