Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Timer(timeInterval:,repeats:,block:) not accounting timeInterva…
…l for the first fire date. (#196) https://github.com/OpenCombine/OpenCombine/blob/master/Sources/OpenCombineFoundation/Helpers/Portability.swift#L58-L64 It looks like this was a typo/something overlooked, but basically, this `fire: Date()` breaks at least every timer publisher like `Timer.publish(every: timeInterval, on: .main, in: .default)`, as it basically results in the *first* event fired immediately vs in timeInterval. (Just in case, no, Combine does not fire that extra event). * Fixed Timer(timeInterval:,repeats:,block:) not accounting timeInterval for the first fire date. * Fixed Danger warning about line length.
- Loading branch information