Skip to content
This repository has been archived by the owner on May 11, 2021. It is now read-only.

WORK IN PROGRESS -- Add support for async requests #771

Closed
wants to merge 2 commits into from

Conversation

naegelyd
Copy link
Collaborator

@naegelyd naegelyd commented Nov 1, 2015

@bruth

I'm still working on the implementation of the async models and async UI elements so I just put stubs in here to keep the diff to a minimum for review. Wanted to get feedback on this approach for selecting different models and UI elements while I work on the async implementations themselves.

More updates to follow but if you could take a look at this in the meantime, I'd like to get the approach for branching on request types locked in. Note, it assumes the presence of async endpoints as proposed in chop-dbhi/serrano#284.

Signed-off-by: Don Naegely [email protected]

Setting this to default to false for now until model and UI support for async requests has been added

Signed-off-by: Don Naegely <[email protected]>
This PR adds a setting to Cilantro that will choose whether synchronous or asycnhronous endpoints are used. The setting also controls which type of collections and UI elements are used as there can be big differences in behavior between the synchronous and asynchronous versions. The async collections and UI elements are stubbed out here for completeness and will be implemented in upcomin work.

Signed-off-by: Don Naegely <[email protected]>
@naegelyd
Copy link
Collaborator Author

Closing this since #693 proposes moving entirely to the new async endpoints. The overhead should be minimal in the normal workflows(probably just 1 extra request in most cases).

@naegelyd naegelyd closed this Nov 15, 2015
@bruth bruth deleted the async-requests branch April 26, 2016 00:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant