AsyncDefaults
@available(*, deprecated, renamed: "PollingDefaults")
public struct AsyncDefaults
If you are running on a slower machine, it could be useful to increase the default timeout value or slow down poll interval. Default timeout interval is 1, and poll interval is 0.01.
Warning
This has been renamed toPollingDefaults
. Starting in Nimble 13, the deprecation warning will change to a compiler error (removed). In Nimble 14, AsyncDefaults
will be removed entirely.
For the time being, AsyncDefaults
will function the same.
However, AsyncDefaults
will be removed in a future release.
-
Undocumented
Declaration
Swift
public static var timeout: NimbleTimeInterval { get set }
-
Undocumented
Declaration
Swift
public static var pollInterval: NimbleTimeInterval { get set }