Skip to content

Releases: happyapplehorse/agere

v0.2.0

27 Jan 16:44
d5440ef

Choose a tag to compare

[0.2.0] - 2024-01-27

Added

  • Added a result attribute to the handler (HandlerCoroutine) and Job object
  • When an exception is encountered, add the exception to the exception attribute of the corresponding handler or Job
  • Added exit_commander method for Job and handler, it can be used to exit commander from within

v0.1.3

06 Jan 17:07
88949a0

Choose a tag to compare

[0.1.3] - 2023-01-05

Fixed

  • Prevent the commander from failing to exit automatically due to an inability to acquire the lock
  • Fixed the bug where the exit code is not passed correctly
  • Fixed the functional defect in the threadsafe-related methods
  • Fixed HandlerCoroutine.add_callback_functions and Job.add_callback_functions error
  • Fixed the issue where the task_node parameter cannot be correctly handle during the initialization of the Callback

Changed

  • Both 'CommanderAsync.exit' and 'CommanderAsync.wait_for_exit' wait for the commander's thread to finish, not just for the loop to end
  • CommanderAsync.is_empty return True only when '__job_queue', '_children' and '_threadsafe_waiting_tasks' are all empty now