Instance Method

encode(to:)

Encodes the demand to the provide encoder.

Declaration

func encode(to encoder: Encoder) throws

Parameters

encoder

An encoder instance.

Relationships

From Protocol

See Also

Encoding and Decoding

init(from: Decoder)

Creates a demand instance from a decoder.