Skip to content

Send each transferred data block to native event bus #140

@edeckers

Description

@edeckers

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions