Sha256: 32c8c9798d6129f7aca22162248e703015e4b33501598b5eb74a5af648414628

Contents?: true

Size: 482 Bytes

Versions: 61

Compression:

Stored size: 482 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", "write", write_info);
    }
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
flok-0.0.41 spec/kern/assets/vm/controller18.rb