Giter Club home page Giter Club logo

broadcast-chan's People

Contributors

merijn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

broadcast-chan's Issues

New hackage release for GHC 8.10?

I see back on March 6th the upper bound of base was bumped.
On hackage it's still saying it requires base <4.14, though - so I can't build it on GHC 8.10
Could we get a new release published to hackage?

Optionally always keep the most recent value

For my use case, it would be quite useful if the broadcast channel would always retain the most recent value that was written to it (even in the case where there are 0 readers).

I realize that it may not make sense to implement this in this library, but I thought I might mention it just in case it does.

Request for code explanation

I'm planning to use this library but want to be really sure of what it's doing and its intended purpose. Would it be possible to explain at a conceptual level how the code is working and how it fixes the problem with using dupChan for creating broadcast channels? (especially for the case where we may have zero readers). What's the kind of overhead/performance-hit that one can expect from using broadcast-chan?

Stackage

I need to get broadcast-chan into stackage because it is a dependency of taffybar. Would you like to put it under your name or mine.

Allow resourcet-1.3 in broadcast-chan-conduit

There is a breaking change in resourcet-1.3 related to Data.Acquire.ReleaseType where ReleaseException is replaced by ReleaseExceptionWith.

This affects BroadcastChan.Conduit.Internal, which uses ReleaseException, including for constructing a BroadcastChan.Extra.ThreadBracket wherein cleanupForkError does not get the exception to use for ReleaseExceptionWith value construction. Thus, the changes necessary for using resourcet-1.3 are non-trivial and require code changes and not just .cabal changes, and perhaps even BroadcastChan.Extra.ThreadBracket needs to change.

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.