Initializer

init(from:)

Creates a demand instance from a decoder.

Declaration

init(from decoder: Decoder) throws

Parameters

decoder

The decoder of a previously-encoded Subscribers.Demand instance.

Relationships

From Protocol

See Also

Encoding and Decoding

func encode(to: Encoder)

Encodes the demand to the provide encoder.