Git Product home page Git Product logo

Comments (2)

brainkim avatar brainkim commented on May 28, 2024 1

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

  1. 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.
  2. replace every instance of the name Channel with Repeater 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.

brainkim avatar brainkim commented on May 28, 2024

Leaving this open until checklist in #28 is complete.

from repeater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.