Commit 4f2fe34
committed
Use timeout to check if a receiver is empty
Checking the length of a receiver is not supported by generic
receivers, but only by `Broadcast` receivers. Using a timeout to
confirm a channel is empty is the more general approach.
Signed-off-by: Sahas Subramanian <[email protected]>1 parent ab177d0 commit 4f2fe34
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
713 | 713 | | |
714 | 714 | | |
715 | 715 | | |
716 | | - | |
| 716 | + | |
| 717 | + | |
717 | 718 | | |
718 | 719 | | |
719 | 720 | | |
| |||
0 commit comments