share.cancel([reason])


取消共享。如果提供了 reason,所有消费者都会抛出那个确切的原因。如果省略,则消费者正常完成。

🌐 Cancel the share. If reason is provided, all consumers throw that exact reason. If it is omitted, consumers complete normally.