DefaultAsyncInteractorAssistant

@MainActor
public struct DefaultAsyncInteractorAssistant<InteractorType, Request, ContentType> : AsyncInteractorAssisting where InteractorType : InteractorTypeable, Request : InteractorRequestConfiguring, ContentType : ContentTypeable

A default assistant to be used to configure async interactor actions. This assistant passes along the given action type and optional content along with the request to the Interactor. If the incoming content is the same type as the Request’s RequestContentType, it is also passed to the request’s init(action:content:) initializer, otherwise no content is passed in.

If the Interactor’s Request.RequestContentType/Request.ResultData differ from ContentType, supply inputTransformer/outputTransformer to bridge them instead of relying on the direct cast — this is what backs transformer(request:result:).