Sha256: acbda0db9539014034e35731c27fa014266736433c924fa579c4d9d86a9fa944
Contents?: true
Size: 581 Bytes
Versions: 9
Compression:
Stored size: 581 Bytes
Contents
# # !SLIDE :capture_code_output true # Subprocess service with continuation require 'example_helper' begin Email.asir.transport = t = ASIR::Transport::Subprocess.new(:one_way => true) pr(Email.asir.send_email(:pdf_invoice, :to => "user@email.com", :customer => @customer) { | resp | pr [ :in_block, resp.result ] }) ensure sleep 1 end # !SLIDE END # PENDING: RUBY_PLATFORM =~ /java/i # EXPECT: : client process # EXPECT: : Email.send_mail :pdf_invoice # EXPECT: : pr: nil # EXPECT: : pr: [:in_block, :ok]
Version data entries
9 entries across 9 versions & 1 rubygems