close method

close

Defines the Close method.

def close(self, reason):
    ...
ParameterTypeDescription
reasonBlockClosingReasonThe BlockClosingReason.

close

Defines the Close method.

def close(self, head, reason):
    ...
ParameterTypeDescription
headBlockSyntaxDescriptorThe BlockSyntaxDescriptor.
reasonBlockClosingReasonThe BlockClosingReason.

See Also