Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Should Obj-C completion handler wait for JS? #6

Description

@holmesal

On the Obj-C side, completion handlers are currently called immediately after the app event has been sent over the bridge. I haven't come up against any cases where this was disadvantageous, but I'm also not doing anything serious like fetching something over the network.

If this turns out the be a problem - an alternative implementation would be to store the obj-c completion handlers (no idea how to do this) by id, and pass that id over the bridge so that they can be invoked when the user calls done().

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions