Sha256: 67e77a3222e3cec6b832beabf0b3768e1a64c21025eda20cd8af18946363fb2f

Contents?: true

Size: 417 Bytes

Versions: 2

Compression:

Stored size: 417 Bytes

Contents

controller :my_controller do
  services :vm

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

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

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

      Request("vm", "write", info);
    }

    on "read_res", %{
    }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
flok-0.0.40 spec/kern/assets/vm/controller10.rb
flok-0.0.39 spec/kern/assets/vm/controller10.rb