Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Add optional asyncID query param to async API calls #1027

Merged
merged 1 commit into from Jul 22, 2018
Merged

Add optional asyncID query param to async API calls #1027

merged 1 commit into from Jul 22, 2018

Conversation

cpacia
Copy link
Member

@cpacia cpacia commented Jul 19, 2018

This commit adds an optional query parameter allowing clients to pass in an
ID used for async requests where the response is returned over websockets.

The current approach of generating and returning a random ID may create a race
condition causing the client to miss the response.

closes #925

This commit adds an optional query parameter allowing clients to pass in an
ID used for async requests where the response is returned over websockets.

The current approach of generating and returning a random ID may create a race
condition causing the client to miss the response.

closes #925
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 32.567% when pulling fe811c7 on async into a831cbd on master.

@jjeffryes
Copy link
Collaborator

This worked as expected when I tested it.

@cpacia cpacia merged commit 786e594 into master Jul 22, 2018
@cpacia cpacia deleted the async branch July 23, 2018 18:31
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.

Add ID Parameter to Async Socket Calls
3 participants