Skip to content

Release 0.11.9

Compare
Choose a tag to compare
@zpz zpz released this 25 Feb 07:21
· 585 commits to main since this release
9db2442

Removed

  • Deprecated context manager on Streamer. Instead, use the object directly.
  • Deprecated function mpservice.util.is_exception.

Changed

  • Streamer.peek parameter interval: default changed to 1 from 1000.
  • Class Streamer is renamed Stream; the old class Stream was removed.

Added or enhanced

  • mpservice.streamer.Parmapper.__init__ takes two new arguments executor_initializer and executor_init_args.
  • Simplifications to the implementation of streamer.py, making use of GeneratorExit and removing class Stream.
  • New utility functions mpservice.util.get_shared_thread_pool, mpservice.util.get_shared_process_pool.