-
The old
Broadcastclass is deprecated in favour of the new auto-closingBroadcastChannel. -
The
Anycastclass is deprecated, because of the lack of use-cases and the maintenance cost.
- There's a new
BroadcastChannel, which returns a broadcast sender and a broadcast receiver. The channel is auto-closing, meaning when all the senders or all the receivers are closed, the channel is closed.