Contents

DispatchSourceTimer

A dispatch source that submits the event handler block based on a timer.

Declaration

protocol DispatchSourceTimer : DispatchSourceProtocol, Sendable

Overview

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

Deprecated

See Also

Creating a Timer Source