Skip to main content

encode_suspension

Function encode_suspension 

Source
pub fn encode_suspension(suspension: &Suspension) -> Value
Expand description

Encodes a suspension as the sentinel completion output.

kind is written only when the tool named one. The absent discriminator is the human gate, and omitting the key is what keeps a gate’s recorded completion byte-identical to the one this function produced before suspensions could name what they wait on.