Payload
public protocol Payload : _Payload
The Payload protocol is a set of user parameters.
This protocol inheritance to support type-inference of the compiler.
-
Write tuple type.
Declaration
Swift
associatedtype Tuple = () -
Map the tuple to the parameters.
Declaration
Swift
init(with argument: Tuple)Parameters
argumentValue of tuple type.
View on GitHub
Payload Protocol Reference