Sha256: c9006a8a7c7b315d716157d0fa5917e695b979fad3255db4f5cefc207a0cfbf7

Contents?: true

Size: 438 Bytes

Versions: 3

Compression:

Stored size: 438 Bytes

Contents

controller :my_controller do
  spots "content"
  services "test"

  choose_action do
    on_entry %{
      var info = {foo: "bar"};
      Request("test", "test_async", info);
    }

    #This is illegal, we are testing for an exception. All
    #events received in choose_action must be synchronous
    on "test_async_res", %{
      Goto("index");
    }
  end

  action "index" do
    on_entry %{
    }
  end

  action "alt" do
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
flok-0.0.61 spec/kern/assets/choose_action_async.rb
flok-0.0.60 spec/kern/assets/choose_action_async.rb
flok-0.0.57 spec/kern/assets/choose_action_async.rb