Skip to content

Feature: async #446

@mfbx9da4

Description

@mfbx9da4

While mmkv is super fast, and that's awesome 😎 it still blocks the main JS thread and for situations where you have to get a bunch of keys in a loop of some kind, that can add up. It would be great if mmkv could provide a threaded async version where

  • Stored values are loaded from mmkv in a thread
  • JSI strings and numbers are constructed in a thread
  • Promise / callback is resolved back to main JS thread with jsCallInvoker

Do you think that would be possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions