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.94 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.94 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.93 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.93 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.92 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.92 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.91 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.91 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.90 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.90 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.89 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.89 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.88 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.88 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.87 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.87 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.86 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.86 spec/kern/assets/vm/pg_sockio/write3.rb
flok-0.0.85 spec/kern/assets/vm/pg_sockio/write.rb
flok-0.0.85 spec/kern/assets/vm/pg_sockio/write3.rb