Skip to content

Latest commit

 

History

History
84 lines (82 loc) · 2.34 KB

TODO.md

File metadata and controls

84 lines (82 loc) · 2.34 KB

Today

  • compose/pipe
  • change order of signature
    • gen first
    • function second
  • filter/map/... callback should accepts sync/async functions
  • implement unzip
  • implement pipeline
  • implement retry
  • code editor file (.editor ?)
  • refactor createNumbersGenerator to const numbers = generateNumbers()
  • always import with full path (no implicit index)

Someday

  • migrate pipeline
  • speed up tests (reduce timers)
  • eslint
  • rename: create-number-generator -> create-async-number-generator
  • yarn workspace
    • lerna?
  • Table of Contents on README
  • Use mermaid.js diagrams on README
  • use fake timers on tests
  • deploy to npm from github CI
  • merge
    • merges two iterables
    • merges in ascending order
  • chunks()
    • for (const chunk of chunks(foo, 6))
    • get by chunks
    • return an array
  • Add toBeNear Jest matcher
  • rename generatedValues to output
  • use latest yarn
  • obj[Symbol.asyncIterator]
    • obj implements Symbol.asyncIterator
    • a function generates values async
    • const { asyncIterator, generate }
  • token bucket algo
    • throws exception if bucket overflows
    • bucket has tokens
    • each requests consumes a token
    • refiller puts token eevery N ms
    • if no tokens on bucket, throw exception
  • leaking bucket algo

  • implement zip/unzip
  • create WebStream section
    • on nodejs it should use WebStream
    • on the browser it uses WebStream
      • browser compatibility could be a follow up feature
  • implement "time-window"
  • implement min/max
    • consumes whole generator and return min/max
  • pairwise
  • timestamp
  • publish only src files, not test files
  • Migrate from jest to node test runner
  • debounce
    • use TS for debounce
    • always return a promise
    • returned promise might fail
  • eslint number with separators
    • 1000 -> 1_000

Done

  • exact pkg versions
  • migrate timeout
  • migrate concat
  • implement zip