Testing Child Processes in Ruby – Grinding Gears
14-Jan-2021 1693
I was recently writing a piece of code that we wanted to act as a supervisor of child processes. We wanted to ask this supervisor the following “Hello there, would you mind running this task in a child process? Thanks!”. From here the supervisor would create a process, keep track of it so we can stop it if necessary, and run the given piece of code in it. This supervisor could run any number of tasks in child processes and would keep track of each one.
Testing Child Processes in Ruby – Grinding Gears #ruby #rubydeveloper #rubyonrails #Testing #Child #Processes #Grinding #Gears #testing https://rubyonrails.ba/link/testing-child-processes-in-ruby-grinding-gears