encode(to:)

Encodes the history token into the provided encoder.

Declaration

func encode(to encoder: any Encoder) throws