Skip to content

Add conditional send to ByteSource trait - #3

Open
rlamarche wants to merge 1 commit into
360-geo:masterfrom
rlamarche:feat/add-send
Open

Add conditional send to ByteSource trait#3
rlamarche wants to merge 1 commit into
360-geo:masterfrom
rlamarche:feat/add-send

Conversation

@rlamarche

@rlamarche rlamarche commented Aug 20, 2026

Copy link
Copy Markdown

Replace non send futures with conditional send futures in ByteSource trait to be able to use this crate with a multi-threaded architecture.

It also adds a ConditionalSync trait for the same reason (the trait have to be Sync to it's reference is send while wrapped in the future).

It does not break compatibility with wasm.

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