Initialize a worker process before running any tasks in it.
(user_initializer=None)
| 261 | |
| 262 | |
| 263 | def initialize_worker_process(user_initializer=None): |
| 264 | """ |
| 265 | Initialize a worker process before running any tasks in it. |
| 266 | """ |
| 267 | default_initializer() |
| 268 | |
| 269 | if user_initializer is not None: |
| 270 | user_initializer() |
nothing calls this directly
no test coverage detected