Skip to main content

CompletionFuture

Type Alias CompletionFuture 

pub type CompletionFuture<'a> = Pin<Box<dyn Future<Output = Result<ModelResponse, ModelError>> + 'a>>;
Expand description

No sockets, threads or Send requirement: a browser frontend can implement this using a lightweight backend, while native callers use the gateway.

Aliased Typeยง

pub struct CompletionFuture<'a> { /* private fields */ }