| commit | 8358111d7856a31ac41d98831defd1379c4d43b3 | [log] [tgz] |
|---|---|---|
| author | Nate Bosch <nbosch1@gmail.com> | Wed Mar 18 13:13:45 2020 -0700 |
| committer | GitHub <noreply@github.com> | Wed Mar 18 13:13:45 2020 -0700 |
| tree | ba9ac5878a6ad4f24719fc4fddaac61fcc3ad354 | |
| parent | 75f49eee3bd6ecd60d016ee106b38c7a8f9f1415 [diff] |
Close send channel in test (dart-lang/stream_channel#54) Without closing this channel the VM will not exit. Refactor to `async/await` so that we can close the channel only after receiving the expected items. This allows running the test directly in the VM without the test runner.