Introduce rating for assistant threads (#26780)
Release Notes: - N/A --------- Co-authored-by: Richard Feldman <oss@rtfeldman.com> Co-authored-by: Agus Zubiaga <hi@aguz.me>
This commit is contained in:
parent
c62210b178
commit
f68a475eca
12 changed files with 378 additions and 117 deletions
|
@ -1046,7 +1046,7 @@ impl App {
|
|||
&self.foreground_executor
|
||||
}
|
||||
|
||||
/// Spawns the future returned by the given function on the thread pool. The closure will be invoked
|
||||
/// Spawns the future returned by the given function on the main thread. The closure will be invoked
|
||||
/// with [AsyncApp], which allows the application state to be accessed across await points.
|
||||
#[track_caller]
|
||||
pub fn spawn<Fut, R>(&self, f: impl FnOnce(AsyncApp) -> Fut) -> Task<R>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue