createFor

abstract fun createFor(lens: LensesComponent.Lens): LensesComponent.RemoteApiService

Called to create a new instance of RemoteApiService scoped to a lifecycle of the provided lens. The returned RemoteApiService is closed when the associated lens is removed from the processing pipeline.