Sha256: 1a626bc5d49ef2bba4f63c2c3960a4e4ef63f44a11dcf6e1eb48c35e02dccb48

Contents?: true

Size: 690 Bytes

Versions: 61

Compression:

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

    on "next", %{
      page2 = CopyPage(page);
      SetPageHead(page2, "head2");
      var write_info = {
        ns: "spec",
        page: page2
      };
      Request("vm", "write", write_info);
    }
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
flok-0.0.64 spec/kern/assets/vm/controller21.rb
flok-0.0.63 spec/kern/assets/vm/controller21.rb
flok-0.0.62 spec/kern/assets/vm/controller21.rb
flok-0.0.61 spec/kern/assets/vm/controller21.rb
flok-0.0.60 spec/kern/assets/vm/controller21.rb
flok-0.0.57 spec/kern/assets/vm/controller21.rb
flok-0.0.56 spec/kern/assets/vm/controller21.rb
flok-0.0.55 spec/kern/assets/vm/controller21.rb
flok-0.0.54 spec/kern/assets/vm/controller21.rb
flok-0.0.53 spec/kern/assets/vm/controller21.rb
flok-0.0.52 spec/kern/assets/vm/controller21.rb
flok-0.0.51 spec/kern/assets/vm/controller21.rb
flok-0.0.50 spec/kern/assets/vm/controller21.rb
flok-0.0.49 spec/kern/assets/vm/controller21.rb
flok-0.0.48 spec/kern/assets/vm/controller21.rb
flok-0.0.47 spec/kern/assets/vm/controller21.rb
flok-0.0.45 spec/kern/assets/vm/controller21.rb
flok-0.0.44 spec/kern/assets/vm/controller21.rb
flok-0.0.43 spec/kern/assets/vm/controller21.rb
flok-0.0.42 spec/kern/assets/vm/controller21.rb