question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Shared context

See original GitHub issue

It would be nice to have the ability to create shared context/sliding window

let inflate = new Inflate({ chunkSize: 128 * 1024 })

inflate.push(chunk)
inflate.push(chunk, Z_SYNC_FLUSH)

console.log(inflate.result.toString())

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
101arrowzcommented, Oct 9, 2020

Update, I’ve added support for synchronous duplex inflate streams, which I know is by far the hardest part. Performance could be better, so I’ll work on that before adding asynchronous streams, deflate streams (very simple), and pushing the changes.

1reaction
101arrowzcommented, Sep 27, 2020

I have a pretty good solution in mind for compression streams, but decompression may be a bit sketchy. I’ll add this after ZIP support

Read more comments on GitHub >

github_iconTop Results From Across the Web

shared context - Example groups - RSpec Core - Relish
Use shared_context to define a block that will be evaluated in the context of example groups either locally, using include_context in an example...
Read more >
Run Tests in Parallel with Shared Context · Issue #2055 · xunit ...
I have some integration tests that need to launch IIS or DotNet Host, or drop/create databases, via collection fixtures. Feature Request. Allow ...
Read more >
Shared Context - an overview | ScienceDirect Topics
A desirable feature of a shared context is that machines can use it to explain their decisions, situations, or perspectives to their human...
Read more >
Shared Contexts with RSpec - Poll Everywhere blog
RSpec's shared contexts act like Ruby modules, allowing you to reuse a context between example groups that don't form a parent-child relationship. Like...
Read more >
Feature Request Handling: How a SaaS Company Obsessed ...
A feature request is a specific type of product feedback that SaaS product ... BTW: if you need a little more context, we've...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found