Repository navigation
comline.toml: async, for connection protocols' async handlers and senders - #96
Merged
Merged
Conversation
…ders [generate] async = true (or per [[generate.target]]) hands the generator async_api: Rust then generates connection protocols for its AsyncConnection. Off by default; the scaffold's comline.toml lists it. Pins the async generators (codegen d88f731, comline-rust 4b21074, comline-typescript a8424c6).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
asyncincomline.toml, as decided for runtime#19:[generate] async = true, or per[[generate.target]], off by default. It is passed to the generator asGenRequest::async_api. With it, Rust generates connection protocols for itsAsyncConnection(comline-rust#73); TypeScript is unchanged (comline-typescript#68).comline.tomllists# async = false.comline generatewith and withoutasyncon adatagram@2package.d88f731(generation#80), comline-rust4b21074(Pin core#112: bare validator names, missing-argument check #73), comline-typescripta8424c6(chore: bump core to c2d61b0 (missing return type diagnostic) #68).All 122 tests pass, and fmt and
clippy -D warningsare clean.