MIT licensed by Michael Snoyman and Kazu Yamamoto
Maintained by [email protected]
This version can be pinned in stack with:time-manager-0.2.3@sha256:727bef438d61d312cdf1544ca24dc9320db0fddd6761b5bd608a31abe00b8d5d,978

Module documentation for 0.2.3

Used by 4 packages in nightly-2025-05-19(full list with versions):

Scalable timer functions provided by a timer manager and thread management functions to prevent thread leak by a thread manager.

Changes

ChangeLog for time-manager

0.2.3

  • Exporting defaultManager.

0.2.2

  • initialize with non positive integer creates a time manager which does not maintain timeout. #1017

0.2.1

  • Export KilledByThreadManager exception #1016

0.2.0

  • Providing System.ThreadManager.
  • withHandle catches TimeoutThread internally. It returns Nothing on timeout.

0.1.3

  • Providing withHandle and withHandleKillThread.

0.1.2

  • Holding Weak ThreadId to prevent thread leak again #1013

0.1.1

  • Removing unliftio.

0.1.0

  • #986
    • Change behavior of cancel to immediately remove the Handle from the reaper’s workload, rather than waiting for timeout.
    • Using auto-update v0.2.0.