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.105 spec/kern/assets/vm/controller6.rb
flok-0.0.103 spec/kern/assets/vm/controller6.rb
flok-0.0.102 spec/kern/assets/vm/controller6.rb
flok-0.0.101 spec/kern/assets/vm/controller6.rb
flok-0.0.100 spec/kern/assets/vm/controller6.rb
flok-0.0.99 spec/kern/assets/vm/controller6.rb
flok-0.0.98 spec/kern/assets/vm/controller6.rb
flok-0.0.97 spec/kern/assets/vm/controller6.rb
flok-0.0.96 spec/kern/assets/vm/controller6.rb
flok-0.0.95 spec/kern/assets/vm/controller6.rb
flok-0.0.94 spec/kern/assets/vm/controller6.rb
flok-0.0.93 spec/kern/assets/vm/controller6.rb
flok-0.0.92 spec/kern/assets/vm/controller6.rb
flok-0.0.91 spec/kern/assets/vm/controller6.rb
flok-0.0.90 spec/kern/assets/vm/controller6.rb
flok-0.0.89 spec/kern/assets/vm/controller6.rb
flok-0.0.88 spec/kern/assets/vm/controller6.rb
flok-0.0.87 spec/kern/assets/vm/controller6.rb
flok-0.0.86 spec/kern/assets/vm/controller6.rb
flok-0.0.85 spec/kern/assets/vm/controller6.rb