Sha256: f963c26e8695ee1f48c471abeb00e2e1ab9b880311031a25c347904d8b01bdc2
Contents?: true
Size: 769 Bytes
Versions: 61
Compression:
Stored size: 769 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 }; //We are writing the same thing twice read_res_params = []; Request("vm", "write", write_info); Request("vm", "watch", watch_info); Request("vm", "write", write_info); } on "read_res", %{ read_res_params.push(params); } end end
Version data entries
61 entries across 61 versions & 1 rubygems