| Class | Rex::JobContainer |
| In: |
lib/rex/job_container.rb
|
| Parent: | Hash |
This class contains zero or more abstract jobs that can be enumerated and stopped in a generic fashion. This is used to provide a mechanism for keeping track of arbitrary contexts that may or may not require a dedicated thread.
Starts a background job that doesn‘t call the cleanup routine or run the run_proc in its own thread. Rather, the run_proc is called immediately and the clean_proc is never called until the job is removed from the job container.