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.64 spec/kern/assets/vm/controller6.rb
flok-0.0.63 spec/kern/assets/vm/controller6.rb
flok-0.0.62 spec/kern/assets/vm/controller6.rb
flok-0.0.61 spec/kern/assets/vm/controller6.rb
flok-0.0.60 spec/kern/assets/vm/controller6.rb
flok-0.0.57 spec/kern/assets/vm/controller6.rb
flok-0.0.56 spec/kern/assets/vm/controller6.rb
flok-0.0.55 spec/kern/assets/vm/controller6.rb
flok-0.0.54 spec/kern/assets/vm/controller6.rb
flok-0.0.53 spec/kern/assets/vm/controller6.rb
flok-0.0.52 spec/kern/assets/vm/controller6.rb
flok-0.0.51 spec/kern/assets/vm/controller6.rb
flok-0.0.50 spec/kern/assets/vm/controller6.rb
flok-0.0.49 spec/kern/assets/vm/controller6.rb
flok-0.0.48 spec/kern/assets/vm/controller6.rb
flok-0.0.47 spec/kern/assets/vm/controller6.rb
flok-0.0.45 spec/kern/assets/vm/controller6.rb
flok-0.0.44 spec/kern/assets/vm/controller6.rb
flok-0.0.43 spec/kern/assets/vm/controller6.rb
flok-0.0.42 spec/kern/assets/vm/controller6.rb