Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send each transferred data block to native event bus #140

Open
6 tasks
edeckers opened this issue Mar 21, 2021 · 0 comments
Open
6 tasks

Send each transferred data block to native event bus #140

edeckers opened this issue Mar 21, 2021 · 0 comments
Labels
Android enhancement New feature or request iOS

Comments

@edeckers
Copy link
Owner

edeckers commented Mar 21, 2021

Some background in #136

To allow other libraries to efficiently process the transferred data streams, without ping-ponging over the JS bridge, the library should send each block over an in-process event bus.

Proposed solution

  • Add an eventBus { enable:boolean; blockSize?: number } setting
  • Send each transferred block of data to the in-process event bus

Progress

  • Add a eventBus { enable:boolean; blockSize?: number } setting to the TypeScript code base
  • Intercept data and send it in chunks to an event bus on Android
  • Intercept data and send it in chunks to an event bus on iOS
  • Add TypeScript tests
  • Add Android tests
  • Add iOS tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android enhancement New feature or request iOS
Projects
None yet
Development

No branches or pull requests

1 participant