A dart:html.WebSocket打開一次,關閉一次。所以我期望onOpen和onClose屬性是期貨,但實際上它們是流。 當然,我可以使用stream.onClose.first來獲得未來。
確定! 回上一頁