We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 662e3bf commit 5dcb100Copy full SHA for 5dcb100
Sources/web3swift/Web3/Web3+Eventloop.swift
@@ -49,9 +49,9 @@ class RepeatingTimer {
49
private lazy var timer: DispatchSourceTimer = {
50
let t = DispatchSource.makeTimerSource()
51
t.schedule(deadline: .now() + self.timeInterval, repeating: self.timeInterval)
52
- t.setEventHandler(handler: { [weak self] in
+ t.setEventHandler { [weak self] in
53
self?.eventHandler?()
54
- })
+ }
55
return t
56
}()
57
0 commit comments