envoyproxy / envoyproxy/envoy-mobile

platform: callback threading specification

Open
#628 2 comments 0 reactions 0 assignees View on GitHub
ergonomics no stalebot
Dominant language
Java
Stars
566
Forks
85
PR merge metrics
No merged PRs in 30d

Description

The bridge code currently leaves it up to the user to specify in which threading context the response callbacks are handled. If the user decides to provide a naive specification, Envoy Mobile could execute responses on Envoy's main thread. For example, in Android by letting the Executor run on the context the callback is first received (which is Envoy's main thread).

One option is for us to either provide a default threading specification and allow users to rely on the default we provide or use the threading specification of their choice (and allow them to also use a naive specification)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.