Sha256: 50e9cb0067315cf650dd4fc161f9b10046a11722e369c4a321c7b1c7a0b69024
Contents?: true
Size: 803 Bytes
Versions: 39
Compression:
Stored size: 803 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 }; var write_info2 = { ns: "spec", page: page2 }; read_res_params = []; Request("vm", "write", write_info); Request("vm", "watch", watch_info); Request("vm", "write", write_info2); } on "read_res", %{ read_res_params.push(params); } end end
Version data entries
39 entries across 39 versions & 1 rubygems