Skip to content

How to handle large batches without blocking the UI #19

Description

@brody2consult

I saw some reports that the UI will be blocked when large batches of data are being loaded into the database. This problem cannot be solved properly without introducing worker threads. The workaround is to setup a timer mechanism that saves the data in small pieces and reports by callback when it is done.

A solution by using either a timer mechanism or worker threads can be done equally well in the user code, outside the SQLitePlugin Javascript code.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions