-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
Originally suggested by @pke in #136
The library is missing the support for processing data that is being transferred.
Proposed solution
- Add
.onBlock(fn: (block) => void, settings?: { blockSize: number }), similar toonProgress - Add
.onFinishStream(fn: (block) => void)which will be called instead of.onBlockwhen the last block of the stream arrives
Progress
- Add
.onBlockmethod to TypeScript code base - Add
.onFinishStreammethod to TypeScript code base - Intercept data and send it in chunks to
.onBlockand.onFinishStreamover the bridge on Android - Intercept data and send it in chunks to
.onBlockand.onFinishStreamover the bridge on iOS - Allow transformation of intercepted data in
.onBlockand.onFinishStream-callbacks - Write transformed data to the target
- Add TypeScript tests
- Add Android tests
- Add iOS tests