-
-
Notifications
You must be signed in to change notification settings - Fork 202
Feat: Implement Neo.data.proxy.Base and Neo.data.proxy.Stream #9090
Copy link
Copy link
Closed
Labels
aicoreCore framework functionalityCore framework functionalityfeatureNew feature functionalityNew feature functionality
Description
Objective
Implement the foundational Proxy classes for the new data loading architecture.
Tasks
-
src/data/proxy/Base.mjs:- Abstract base class.
- Should define the interface for
read(operation)(or similar). - Should handle basic URL configuration.
-
src/data/proxy/Stream.mjs:- Extends
Base. - Uses
fetchto retrieve the resource. - Implements the
NDJSONStreamparsing logic (usingTransformStreamandTextDecoderStream). - Should expose a way to yield records incrementally (e.g., via events or a generator).
- Extends
Requirements
- Must work in the App Worker (and potentially SharedWorker).
- Must handle JSONL (newline-delimited JSON).
- Error handling for network failures and parse errors.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
aicoreCore framework functionalityCore framework functionalityfeatureNew feature functionalityNew feature functionality