Your friends from pull stream, but in terms of async iterators.
A "source" is something that can be consumed. It is an iterable object.
const ints = {| #!/usr/bin/env node | |
| /* | |
| * Copyright 2013-2019 The NATS Authors | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 |