Skip to content

mohdel v3.1.0

Choose a tag to compare

@clbrge clbrge released this 26 Sep 19:17
· 97 commits to main since this release

Added

  • thin-gate: dispatch_embed, dispatch_image and dispatch_transcription
    return once a one-shot request has a session, with an Exchange that owns
    its result: it resolves to the route's response, can be awaited from another
    task, and when dropped leaves the exchange to complete and release its
    session. Dropping the dispatch future while the request waits for a session
    never reaches the session. handle_embed, handle_image and
    handle_transcription are the same functions awaited in place. All are
    exported at the crate root and in the prelude.