Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Ensure request does not hang in non-async runtimes #23

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

radu-matei
Copy link
Member

@radu-matei radu-matei commented Mar 4, 2021

closes #19

This commit checks whether the current context has a Tokio runtime
and if true, blocks on. Alternatively, it will directly use the
blocking reqwest client to perform a request.

Signed-off-by: Radu M <root@radu.sh>
@radu-matei radu-matei merged commit 5a01a57 into deislabs:main Mar 5, 2021
@radu-matei radu-matei deleted the runtimes branch March 5, 2021 03:37
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.

Wasmtime: block on async and reqwest
1 participant