LatestValueCachenow closes the receiver when it is stopped.- Fetching values from stopped
LatestValueCacheinstances is now disallowed.
-
There's a new
Oneshotchannel, which returns a sender and a receiver. A single message can be sent using the sender, after which it will be closed. And the receiver will close as soon as the message is received. -
Senders now have anaclose, which must be called, when they are no-longer needed.