DispatchSourceTimer
A dispatch source that submits the event handler block based on a timer.
Declaration
protocol DispatchSourceTimer : DispatchSourceProtocol, SendableOverview
You do not adopt this protocol in your objects. Instead, use the makeTimerSource(flags:queue:) method to create an object that adopts this protocol.
Topics
Scheduling the Timer Trigger Conditions
schedule(deadline:repeating:leeway:)schedule(deadline:repeating:leeway:)schedule(wallDeadline:repeating:leeway:)schedule(wallDeadline:repeating:leeway:)