⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on Network monitoring, controls & Application development, testing, debugging.
2013-present by Abhinav Singh and contributors.
BSD, see LICENSE for more details.
- class proxy.core.work.pool.ThreadlessPool(flags: argparse.Namespace, executor_klass: Type[T], event_queue: Optional[EventQueue] = None)[source]#
Manages lifecycle of threadless pool and delegates work to them using a round-robin strategy.
with ThreadlessPool(flags=...) as pool: while True: time.sleep(1)
If necessary, start multiple threadless pool with different work classes.