undici icon indicating copy to clipboard operation
undici copied to clipboard

feat: support long polling requests and event-source responses

Open ronag opened this issue 3 years ago • 4 comments

ronag avatar Feb 05 '21 12:02 ronag

Needs tests

ronag avatar Feb 05 '21 12:02 ronag

This logic is only relevant when pipelining > 1 and ensures that no more requests are enqueued.

ronag avatar Feb 05 '21 12:02 ronag

Codecov Report

Merging #538 (020f6ea) into master (8aa5ad1) will decrease coverage by 0.07%. The diff coverage is 93.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #538      +/-   ##
==========================================
- Coverage   99.63%   99.56%   -0.08%     
==========================================
  Files          16       16              
  Lines        1365     1375      +10     
==========================================
+ Hits         1360     1369       +9     
- Misses          5        6       +1     
Impacted Files Coverage Δ
lib/core/symbols.js 100.00% <ø> (ø)
lib/core/client.js 99.30% <92.85%> (-0.17%) :arrow_down:
lib/core/request.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8aa5ad1...e88b0f7. Read the comment docs.

codecov-io avatar Feb 05 '21 12:02 codecov-io

This is an implementation of SSR or pure long-polling? (I'm asking because I see the text/event-stream header involved) :)

metcoder95 avatar Feb 01 '22 21:02 metcoder95