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

Make callback interactions with ClientSessionDelegate async #4546

Closed

Conversation

zzorba
Copy link
Contributor

@zzorba zzorba commented Jan 16, 2025

See issue: #4516

The client we are using the matrix-rust-sdk (react-native) does not offer synchronous access to the system keychain. In order to make this easier, this change adjusts ClientSessionDelegate to be a CallbackInterface with async methods for storing and retrieving. Retrieving is the only on that strictly speaking needs to be async, but it felt like symmetry was warranted here in case the save operation were to fail at the system level.

  • Public API changes documented in changelogs (optional)

Signed-off-by: Daniel Salinas

@zzorba zzorba requested a review from a team as a code owner January 16, 2025 22:34
@zzorba zzorba requested review from jmartinesp and removed request for a team January 16, 2025 22:34
@zzorba zzorba force-pushed the async_client_session_delegate branch from e987313 to 5bd6ca5 Compare January 16, 2025 22:53
@zzorba zzorba force-pushed the async_client_session_delegate branch from 5bd6ca5 to 14dbeed Compare January 17, 2025 14:41
@zzorba zzorba closed this Jan 17, 2025
@zzorba zzorba deleted the async_client_session_delegate branch January 17, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant