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

Improve iOS React Native sync mechanism #37

Closed
talkol opened this issue Oct 6, 2016 · 1 comment
Closed

Improve iOS React Native sync mechanism #37

talkol opened this issue Oct 6, 2016 · 1 comment

Comments

@talkol
Copy link

talkol commented Oct 6, 2016

EarlGrey on iOS synchronizes with async OS tasks such as network requests using objects that conform to GREYIdlingResource. These objects listen on a resource like the network stack and are polled by EarlGrey to say whether this resource is busy or not (isIdleNow).

Our current phase 1 sync mechanism has 2 new Idling Resources specific for React Native.

The current implementation uses heuristics (moving average of the time that takes a bridge command to travel the full cycle) and this isn't ideal.

We want to improve the sync mechanism, remove the heuristics and make it more robust.

@LeoNatan
Copy link
Contributor

Implemented.

@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants