ruby-concurrency / concurrent-ruby

Modern concurrency tools including agents, futures, promises, thread pools, supervisors, and more. Inspired by Erlang, Clojure, Scala, Go, Java, JavaScript, and classic concurrency patterns.
https://ruby-concurrency.github.io/concurrent-ruby/
Other
5.68k stars 418 forks source link

Use executor from arg in then_on/rescue_on/chain_on for Promises #1005

Closed tgwizard closed 10 months ago

tgwizard commented 1 year ago

When doing some spelunking through the code I saw that these 3 methods don't use the executor passed in through the argument. I believe they should, as the other *_on methods do.