Sha256: e72a9f11bf35891ba73287e5dea55fe7f92d54cc193f853b7732d509b42662f8
Contents?: true
Size: 387 Bytes
Versions: 61
Compression:
Stored size: 387 Bytes
Contents
controller :my_controller do services :vm on_entry %{ read_res_params = []; } action :my_action do on_entry %{ var page = vm_create_page("test"); var info = { ns: "sockio", page: page, }; Request("vm", "write", info); } on "read_res", %{ read_res_params.push(JSON.parse(JSON.stringify(params))); } end end
Version data entries
61 entries across 31 versions & 1 rubygems