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

Version Path
flok-0.0.105 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.105 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.103 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.103 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.102 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.102 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.101 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.101 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.100 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.100 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.99 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.99 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.98 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.98 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.97 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.97 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.96 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.96 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.95 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.95 spec/kern/assets/vm/pg_sockio/write3.rb