AsyncDatasourceable
public protocol AsyncDatasourceable<ResultData> : AsyncInteractable
This protocol represents a datasource Interactor actor. These datasources can be used to provide items to a Destination’s view interface.
-
startItemsRetrieval()
AsynchronousTells the provider to start retrieval of the items. Once retrieved, the items array should be updated.
Declaration
Swift
func startItemsRetrieval() async
-
An object which receives status updates about items retrieval progress.
Declaration
Swift
var statusDelegate: DatasourceItemsProviderStatusDelegate? { get set }
-
Items contained by the datasource.
Declaration
Swift
var items: [ResultData] { get set }
-
perform(request:
Extension methodcompletionClosure: ) Declaration
Swift
nonisolated func perform(request: Request, completionClosure: DatasourceResponseClosure<[ResultData]>?)