Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

token-client: Make Token properly Send + Sync #6523

Closed
wants to merge 1 commit into from

Conversation

joncinque
Copy link
Contributor

Problem

It's not possible to use token-client's Token in a detached async context because not all the types contained are Send + Sync. See #6510 for more info.

Solution

Add Send + Sync to all types contained within Token and all type parameters. This is a pretty invasive change and breaks current CLI users, but we can consider doing this in a breaking release.

Fixes #6478

cc @1500256797

@github-actions github-actions bot added the stale [bot only] Added to stale content; will be closed soon label Apr 26, 2024
@github-actions github-actions bot closed this May 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale [bot only] Added to stale content; will be closed soon
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Token type is !Send + !Sync
1 participant