Skip to content

Commit af03b43

Browse files
authored
Mark the AsyncDefaults struct as removed (#1069)
1 parent 1be8672 commit af03b43

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Sources/Nimble/Polling.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ import Dispatch
66
/// If you are running on a slower machine, it could be useful to increase the default timeout value
77
/// or slow down poll interval. Default timeout interval is 1, and poll interval is 0.01.
88
///
9-
/// - Warning: This has been renamed to ``PollingDefaults``. Starting in Nimble 13, the deprecation warning will change to a compiler error (removed). In Nimble 14, `AsyncDefaults` will be removed entirely.
9+
/// - Warning: This has been renamed to ``PollingDefaults``. Starting in Nimble 14, `AsyncDefaults` will be removed entirely.
1010
///
1111
/// For the time being, `AsyncDefaults` will function the same.
1212
/// However, `AsyncDefaults` will be removed in a future release.
13-
@available(*, deprecated, renamed: "PollingDefaults")
13+
@available(*, unavailable, renamed: "PollingDefaults")
1414
public struct AsyncDefaults {
1515
public static var timeout: NimbleTimeInterval {
1616
get {
@@ -33,7 +33,7 @@ public struct AsyncDefaults {
3333
/// If you are running on a slower machine, it could be useful to increase the default timeout value
3434
/// or slow down poll interval. Default timeout interval is 1, and poll interval is 0.01.
3535
///
36-
/// Note: This used to be known as ``AsyncDefaults``.
36+
/// - Note: This used to be known as ``AsyncDefaults``.
3737
public struct PollingDefaults {
3838
public static var timeout: NimbleTimeInterval = .seconds(1)
3939
public static var pollInterval: NimbleTimeInterval = .milliseconds(10)

0 commit comments

Comments
 (0)