input-output-hk / io-sim

Haskell's IO simulator which closely follows core packages (base, async, stm).
https://hackage.haskell.org/package/io-sim
Apache License 2.0
37 stars 15 forks source link

Cancellable Timers & Hackage Preparations #54

Closed coot closed 1 year ago

coot commented 1 year ago

@dcoutts we have to keep MonadTimerFancy in io-classes, because we relay on it to implement registerDelay, but I moved it to MonadTimer.NonStandard module.

registerDelayCancellable is just a function on top of MonadTimerFancy, I think there's no real benefit in packaging it independently, so it's exported from MonadTimer.NonStandar.