nim-chronos
nim-chronos copied to clipboard
Strict Future value
Strict future access is now always enabled, making it a panic to access value/error when the Future is still pending - read
and readError
raise catchable exceptions instead which may be preferable to use.
- remove
chronosStrictFutureAccess
enabling its functionality by default - disallow setting a cancellation callback on a non-pending future