You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gwerbin
changed the title
Provide some mechanism for "initializing" Processes with to_process
Provide some mechanism for "initializing" processes with to_process
Aug 24, 2023
Things to check first
Feature description
The Python standard library provides a mechanism in
multiprocessing.Pool
to run some code when a process is created, usinginitializer=
.It would be very useful to have this in AnyIO.
Use case
My use case is setting up logging in each process to send log messages to a
QueueHandler
, as well as setting log level.The text was updated successfully, but these errors were encountered: