Sha256: 50e9cb0067315cf650dd4fc161f9b10046a11722e369c4a321c7b1c7a0b69024

Contents?: true

Size: 803 Bytes

Versions: 39

Compression:

Stored size: 803 Bytes

Contents

controller :my_controller do
  services :vm

  action :my_action do
    on_entry %{
      var entry = {
        hello: "world"
      }

      page = NewPage("array", "test");
      SetPageHead(page, "head");
      SetPageNext(page, "next");
      EntryInsert(page, 0, entry);

      page2 = CopyPage(page)
      EntryInsert(page, 0, entry);


      var watch_info = {
        ns: "spec",
        id: "test"
      }

      var write_info = {
        ns: "spec",
        page: page
      };

      var write_info2 = {
        ns: "spec",
        page: page2
      };


      read_res_params = [];
      Request("vm", "write", write_info);
      Request("vm", "watch", watch_info);
      Request("vm", "write", write_info2);
    }

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

Version data entries

39 entries across 39 versions & 1 rubygems

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