Sha256: ae48a6c42bff5ed4f70d0e4d919f38c23ca6df3e25a59a3fed61596358f85d58

Contents?: true

Size: 585 Bytes

Versions: 36

Compression:

Stored size: 585 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);

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

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

      Request("vm", "watch", watch_info);
      Request("vm", "write", write_info);
    }

    on "read_res", %{
      read_res_params = params;
    }
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
flok-0.0.79 spec/kern/assets/vm/controller11.rb
flok-0.0.78 spec/kern/assets/vm/controller11.rb
flok-0.0.77 spec/kern/assets/vm/controller11.rb
flok-0.0.76 spec/kern/assets/vm/controller11.rb
flok-0.0.75 spec/kern/assets/vm/controller11.rb
flok-0.0.74 spec/kern/assets/vm/controller11.rb
flok-0.0.73 spec/kern/assets/vm/controller11.rb
flok-0.0.72 spec/kern/assets/vm/controller11.rb
flok-0.0.71 spec/kern/assets/vm/controller11.rb
flok-0.0.70 spec/kern/assets/vm/controller11.rb
flok-0.0.69 spec/kern/assets/vm/controller11.rb
flok-0.0.68 spec/kern/assets/vm/controller11.rb
flok-0.0.67 spec/kern/assets/vm/controller11.rb
flok-0.0.66 spec/kern/assets/vm/controller11.rb
flok-0.0.65 spec/kern/assets/vm/controller11.rb
flok-0.0.64 spec/kern/assets/vm/controller11.rb
flok-0.0.63 spec/kern/assets/vm/controller11.rb
flok-0.0.62 spec/kern/assets/vm/controller11.rb
flok-0.0.61 spec/kern/assets/vm/controller11.rb
flok-0.0.60 spec/kern/assets/vm/controller11.rb