method

shutdown

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: AsyncAdapter
shutdown(wait: true) public

Gracefully stop processing jobs. Finishes in-progress work and handles any new jobs following the executor’s fallback policy (`caller_runs`). Waits for termination by default. Pass `wait: false` to continue.

Show source
Register or log in to add new notes.