Sha256: 62dcf62d6bf149c32446a13a45bea0761d1381c5970e3f653f4569e0731da2c3

Contents?: true

Size: 612 Bytes

Versions: 13

Compression:

Stored size: 612 Bytes

Contents

<%
  _kas.threadded_content do
    sleep 0.2
    print "1"
  end
  
  print "2"
  
  _kas.threadded_content do
    sleep 0.1
    
    _kas.threadded_content do
      sleep 0.1
      print "3"
      
      sleep 0.1
      
      _kas.threadded_content do
        print "4"
        sleep 0.1
        print "5"
      end
      
      _kas.threadded_content do
        print "6"
        print "7"
      end
    end
    
    print "8"
  end
  
  #This will first finish after the printing has starter - it should still be printed correct.
  _kas.threadded_content do
    sleep 1
    print "9"
  end
  
  print "10"
%>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
knjappserver-0.0.30 lib/pages/spec_threadded_content.rhtml
knjappserver-0.0.29 lib/pages/spec_threadded_content.rhtml
knjappserver-0.0.28 lib/pages/spec_threadded_content.rhtml
knjappserver-0.0.26 lib/pages/spec_threadded_content.rhtml
knjappserver-0.0.25 lib/pages/spec_threadded_content.rhtml
knjappserver-0.0.24 lib/pages/spec_threadded_content.rhtml
knjappserver-0.0.23 lib/pages/spec_threadded_content.rhtml
knjappserver-0.0.22 lib/pages/spec_threadded_content.rhtml
knjappserver-0.0.21 lib/pages/spec_threadded_content.rhtml
knjappserver-0.0.20 lib/pages/spec_threadded_content.rhtml
knjappserver-0.0.19 lib/pages/spec_threadded_content.rhtml
knjappserver-0.0.18 lib/pages/spec_threadded_content.rhtml
knjappserver-0.0.17 lib/pages/spec_threadded_content.rhtml