Requests Documentation

Structure Collect

public struct Collect<Parent: LoopEndpoint>  

A struct defining a custom endpoint implementation returning a wrapper for the reduced output of a loop endpoint.

Nested Type Aliases

Output

public typealias Output = [Parent.Output] 

The associated output type.

Initializers

init(_:​)

public init(@EndpointBuilder _ parent: () -> Parent)  

Init.

Parameters

parent () -> Parent

A valid Parent factory.