AsyncProvider
public protocol AsyncProvider
Entity capable of executing task asynchronously. This can be useful in tests to control asynchronous tasks
-
Calling this method will enqueue a closure to be executed asynchronously
Declaration
Swift
func execute(_ closure: @escaping () -> Void)