mode
TypeScriptget mode(): RunLoop_ModeSwift declarationfinal let mode: RunLoop.Modeclass · iOS 13.0+ · SDK 27.1
final class TimerPublisherA publisher that repeatedly emits the current date on a given interval.
get mode(): RunLoop_ModeSwift declarationfinal let mode: RunLoop.Modeconnect(): SDKHandleSwift declarationfinal func connect() -> any CancellableConnects to the publisher, allowing it to produce elements, and returns an instance with which to cancel publishing. - Returns: A ``Cancellable`` instance that you use to cancel publishing.
get options(): (RunLoop_SchedulerOptions) | nullSwift declarationfinal let options: RunLoop.SchedulerOptions?get runLoop(): RunLoopSwift declarationfinal let runLoop: RunLoopstatic init(interval: number, tolerance: (number) | null, runLoop: RunLoop, mode: RunLoop_Mode, options?: (RunLoop_SchedulerOptions) | null): Timer_TimerPublisherSwift declarationinit(interval: TimeInterval, tolerance: TimeInterval? = nil, runLoop: RunLoop, mode: RunLoop.Mode, options: RunLoop.SchedulerOptions? = nil)Creates a publisher that repeatedly emits the current date on the given interval. - Parameters: - interval: The interval on which to publish events. - tolerance: The allowed timing variance when emitting events. Defaults to `nil`, which allows any variance. - runLoop: The run loop on which the timer runs. - mode: The run loop mode in which to run the timer. - options: Scheduler options passed to the timer. Defaults to `nil`.
get interval(): numberSwift declarationfinal let interval: TimeIntervalget tolerance(): (number) | nullSwift declarationfinal let tolerance: TimeInterval?1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
Timer.TimerPublisher.receive(subscriber:)
This declaration needs Swift generic type arguments. (no canonical witness for S)