Tracking Issue for once_wait
#127527
Labels
C-tracking-issue
Category: A tracking issue for an RFC or an unstable feature.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Feature gate:
#![feature(once_wait)]
This is a tracking issue for adding a blocking
.wait()
method onOnce
andOnceLock
, to allow other threads to synchronize on their completion. This will provide the same interface asonce_cell
'sOnceCell::wait
.Public API
Steps / History
OnceLock::wait
libs-team#405once_wait
feature #127567Unresolved Questions
Mutex
does not have async methods. This would probably get its own feature gate.Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩
The text was updated successfully, but these errors were encountered: