Sha256: dddbaafc365d1c6d835565cddedbc06abbb0478f092ef73f660cf2444ab6d3e5

Contents?: true

Size: 570 Bytes

Versions: 45

Compression:

Stored size: 570 Bytes

Contents

controller :my_controller do
  services :vm

  on_entry %{
  }

  action :my_action do
    on_entry %{
      var info = {
        ns: "spec",
        id: "test"
      }

      Request("vm", "read_sync", info);
    }

    on "read_sync_res", %{
      Goto("other");
    }
  end

  action :other do
    on_entry %{
    }

    on "get_test", %{
      //Second request should not trigger disk read as by this point, the cache would have been written
      var infox = {
        ns: "spec",
        id: "test"
      }
      Request("vm", "read_sync", infox);
    }
  end
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
flok-0.0.105 spec/kern/assets/vm/controller19d.rb
flok-0.0.103 spec/kern/assets/vm/controller19d.rb
flok-0.0.102 spec/kern/assets/vm/controller19d.rb
flok-0.0.101 spec/kern/assets/vm/controller19d.rb
flok-0.0.100 spec/kern/assets/vm/controller19d.rb
flok-0.0.99 spec/kern/assets/vm/controller19d.rb
flok-0.0.98 spec/kern/assets/vm/controller19d.rb
flok-0.0.97 spec/kern/assets/vm/controller19d.rb
flok-0.0.96 spec/kern/assets/vm/controller19d.rb
flok-0.0.95 spec/kern/assets/vm/controller19d.rb
flok-0.0.94 spec/kern/assets/vm/controller19d.rb
flok-0.0.93 spec/kern/assets/vm/controller19d.rb
flok-0.0.92 spec/kern/assets/vm/controller19d.rb
flok-0.0.91 spec/kern/assets/vm/controller19d.rb
flok-0.0.90 spec/kern/assets/vm/controller19d.rb
flok-0.0.89 spec/kern/assets/vm/controller19d.rb
flok-0.0.88 spec/kern/assets/vm/controller19d.rb
flok-0.0.87 spec/kern/assets/vm/controller19d.rb
flok-0.0.86 spec/kern/assets/vm/controller19d.rb
flok-0.0.85 spec/kern/assets/vm/controller19d.rb