Skip to content

feat(inlet): add low-latency two-phase chunk pulls#116

Open
cboulay wants to merge 2 commits into
chore/liblsl-1.18.0b2from
cboulay/two_phase_pull
Open

feat(inlet): add low-latency two-phase chunk pulls#116
cboulay wants to merge 2 commits into
chore/liblsl-1.18.0b2from
cboulay/two_phase_pull

Conversation

@cboulay

@cboulay cboulay commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add an opt-in min_samples argument to StreamInlet.pull_chunk
  • support waiting for the first sample and then draining immediately available data up to max_samples
  • preserve the existing pull behavior when min_samples is omitted
  • preserve preallocated dest_obj support across both pull phases

Testing

  • uv run pytest -q — 22 passed, 2 skipped
  • uv run ruff check src/pylsl/inlet.py test/test_pull_chunk.py
  • verified the editable dependency from ezmsg-lsl and ran its inlet tests — 6 passed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant