@lucent-lang/streaming
v0.0.3
Published
Lucent streaming acceptance package — owned chunk sources, transform/write sinks, explicit backpressure contracts.
Readme
@lucent-lang/streaming
Gate C streaming package skeleton (roadmap P86). Explicit ownership and backpressure live in contracts; CI stubs bound prefetch capacity.
What works today
- Owned
FileChunkSourcewithcapacity(default package policy 4) andreadChunk()returning ownedUint8Arraybuffers - Owned
FileWriteSinkwithwrite(borrowed chunk for await duration),flush,close transformChunkproduces a new owned buffer from a borrowed input- Lucent pipeline under
lucent/pipeline.lucent.ts - Compile tests in
test/library.test.ts
Device tests remaining (P86)
- Real file / network producers, unpausable sensor sources, soak tests
- Fan-in / fan-out ownership and measured throughput budgets
- Host Expo / Nitro wiring
Pass criteria from P86 are not fully met until those paths land.
