Sha256: c3776ac9e263d5415d622b96ae0f534b97fda33d1970333674b7c1f7d70b7533

Contents?: true

Size: 480 Bytes

Versions: 7

Compression:

Stored size: 480 Bytes

Contents

controller :my_controller do
  services :vm

  on_entry %{
    read_sync_res_params = [];
  }

  action :my_action do
    on_entry %{
      var info = {
        ns: "spec",
        id: "test"
      }

      var info2 = {
        ns: "spec",
        id: "test2"
      }

      //requesting 'test' and 'test2'
      Request("vm", "read_sync", info);
      Request("vm", "read_sync", info2);
    }

    on "read_sync_res", %{
      read_sync_res_params.push(params);
    }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
flok-0.0.66 spec/kern/assets/vm/controller19c.rb
flok-0.0.65 spec/kern/assets/vm/controller19c.rb
flok-0.0.64 spec/kern/assets/vm/controller19c.rb
flok-0.0.63 spec/kern/assets/vm/controller19c.rb
flok-0.0.62 spec/kern/assets/vm/controller19c.rb
flok-0.0.61 spec/kern/assets/vm/controller19c.rb
flok-0.0.60 spec/kern/assets/vm/controller19c.rb