Comments (2)
I’m thinking about using the name “repeater.” “Repeat” is a synonym of “iterate,” and in telecommunications, “a repeater is an electronic device that receives a signal and retransmits it,” which is basically what channels/async iterators do. It captures the iterative/asynchronous/concurrent nature of channels, isn’t widely used in the context of JavaScript/TypeScript, and follows a long tradition of borrowing concepts/names from telecommunications ("muxer", "duplex", "channel").
As far as breaking changes go, we would need to
- deprecate all
@channel
packages (💆♂️ ) and publish new packages maybe under a@repeater
or@repeaterjs
org name. I’m temporarily parked on the@repeaterjs
github org and@repeater
/@repeaterjs
npm org. Part of me wonders if we should just use@repeaterjs
for uniformity for when npm implodes and everyone switches to the github package registry. - replace every instance of the name
Channel
withRepeater
in public APIs.
The channel packages are currently hovering around <50 downloads a week, so I’d like to make this change now when no one cares. However, in the interest of a smooth upgrade path, I think we should republish all the published versions under the new name, and increment versions as necessary. So @channel/channel
would still be available at 1.0 under @repeaterjs/repeater
or whatever, and the version with the actual renamed APIs would be available under 2.0.
from repeater.
Leaving this open until checklist in #28 is complete.
from repeater.
Related Issues (20)
- Create a logo HOT 1
- Redesign Repeater.prototype.return and the stop promise.
- Question: Convert Observable to Repeater and back HOT 5
- Missing documentation for packages HOT 2
- Not that great for implementing transducers? HOT 31
- Should the Repeater automatically stop when its executor fulfills? HOT 5
- Doesn't quite match AsyncIterable interface? HOT 3
- push*(repeater) type API HOT 3
- Some of the more fragile tests are failing in newer versions of node HOT 1
- Question about the abilities of async iteration HOT 2
- Repeater.race typings are incorrect HOT 1
- Aggressive memory leak in Repeater.race HOT 2
- 4.0 changes HOT 4
- TypeError: Invalid attempt to iterate non-iterable instance. HOT 5
- WeakMap error at Repeater.return HOT 8
- RepeatOrNot HOT 1
- Question about merging two Repeaters HOT 2
- Help with map transducer? HOT 13
- Stop promise not entirely compatible with Promise.race
- Event loop can die if stop() not called
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from repeater.